Cotton Candy

Customize and copy the CSS

Code

background: #33CCFF;
background: linear-gradient(135deg, #33CCFF 0%, #FF99CC 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Cotton Candy

Starting from #33CCFF and finishing on #FF99CC, Cotton Candy is a balanced multi-color gradient. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #B8B2FF.

Both colors are light (79% and 80% lightness), with an average look that is vivid. The hue swings roughly 123° across the color wheel, which gives the gradient a wide, multi-tone sweep.

It suits tech products, onboarding screens and navigation bars. Black text keeps at least 10.6:1 contrast across every stop, which passes WCAG AA for body text.

Because the hue changes a lot, blending in the sRGB color space can turn the middle gray or muddy. Switch on OKLCH interpolation above to keep the transition clean, then copy the CSS with the "in oklch" hint.

Cotton Candy gradient: #33CCFF, #FF99CC

Blue color palettes

See all