Skip to content

#ccc9f6

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

RGB
204, 201, 246
HSL
244°, 71%, 88%
CMYK
17, 18, 0, 4
Luminance
0.6126

Every format

HEX#ccc9f6
RGBrgb(204, 201, 246)
HSLhsl(244, 71%, 88%)
CMYKcmyk(17%, 18%, 0%, 4%)
LABlab(82.5 9.9 -21.7)
LCHlch(82.5 23.9 294.6)
OKLCHoklch(0.853 0.062 288.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.8%
Blue96.5%

CMYK percentages

Cyan17.1%
Magenta18.3%
Yellow0.0%
Key (black)3.5%

Color previews

#ccc9f6 text on a black background

contrast 13.25:1

Card sample

#ccc9f6 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9f6 in the Color Lab