Skip to content

#cccff2

a pale, vivid blue · warm · closest name: lavender

RGB
204, 207, 242
HSL
235°, 59%, 88%
CMYK
16, 15, 0, 5
Luminance
0.6387

Every format

HEX#cccff2
RGBrgb(204, 207, 242)
HSLhsl(235, 59%, 88%)
CMYKcmyk(16%, 15%, 0%, 5%)
LABlab(83.9 5.9 -17.5)
LCHlch(83.9 18.5 288.6)
OKLCHoklch(0.863 0.049 281.5)

Copy-ready code

/* CSS */
color: #cccff2;
background-color: #cccff2;
/* Tailwind (arbitrary) */
class="text-[#cccff2] bg-[#cccff2]"
/* SCSS */
$brand: #cccff2;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.949)
/* Android */
Color.parseColor("#cccff2")

Accessibility — WCAG contrast

Aa
#cccff2 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cccff2 on black: 13.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#cccff2 text on a black background

contrast 13.77:1

Card sample

#cccff2 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cccff2;
Background color
Panel with #cccff2 background
background-color: #cccff2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cccff2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 207, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccff2;
background: linear-gradient(135deg, #cccff2, #E2CCF2);

Monochromatic scale

Palettes built from #cccff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccff2 in the Color Lab