Skip to content

#ccc9f7

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

RGB
204, 201, 247
HSL
244°, 74%, 88%
CMYK
17, 19, 0, 3
Luminance
0.6133

Every format

HEX#ccc9f7
RGBrgb(204, 201, 247)
HSLhsl(244, 74%, 88%)
CMYKcmyk(17%, 19%, 0%, 3%)
LABlab(82.5 10.2 -22.2)
LCHlch(82.5 24.4 294.6)
OKLCHoklch(0.853 0.064 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9f7 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9f7 on black: 13.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue96.9%

CMYK percentages

Cyan17.4%
Magenta18.6%
Yellow0.0%
Key (black)3.1%

Color previews

#ccc9f7 text on a black background

contrast 13.27:1

Card sample

#ccc9f7 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9f7 in the Color Lab