Skip to content

#ccc9f2

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

RGB
204, 201, 242
HSL
244°, 61%, 87%
CMYK
16, 17, 0, 5
Luminance
0.6102

Every format

HEX#ccc9f2
RGBrgb(204, 201, 242)
HSLhsl(244, 61%, 87%)
CMYKcmyk(16%, 17%, 0%, 5%)
LABlab(82.4 9.1 -19.8)
LCHlch(82.4 21.8 294.7)
OKLCHoklch(0.852 0.057 288.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9f2 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9f2 on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta16.9%
Yellow0.0%
Key (black)5.1%

Color previews

#ccc9f2 text on a black background

contrast 13.20:1

Card sample

#ccc9f2 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9f2 in the Color Lab