Skip to content

#cccff1

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

RGB
204, 207, 241
HSL
235°, 57%, 87%
CMYK
15, 14, 0, 6
Luminance
0.6381

Every format

HEX#cccff1
RGBrgb(204, 207, 241)
HSLhsl(235, 57%, 87%)
CMYKcmyk(15%, 14%, 0%, 6%)
LABlab(83.9 5.7 -17.0)
LCHlch(83.9 17.9 288.5)
OKLCHoklch(0.863 0.047 281.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccff1 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cccff1 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue94.5%

CMYK percentages

Cyan15.4%
Magenta14.1%
Yellow0.0%
Key (black)5.5%

Color previews

#cccff1 text on a black background

contrast 13.76:1

Card sample

#cccff1 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccff1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccff1 in the Color Lab