Skip to content

#ccc9fd

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

RGB
204, 201, 253
HSL
244°, 93%, 89%
CMYK
19, 21, 0, 1
Luminance
0.6170

Every format

HEX#ccc9fd
RGBrgb(204, 201, 253)
HSLhsl(244, 93%, 89%)
CMYKcmyk(19%, 21%, 0%, 1%)
LABlab(82.8 11.5 -25.1)
LCHlch(82.8 27.6 294.6)
OKLCHoklch(0.856 0.072 287.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9fd on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9fd on black: 13.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta20.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ccc9fd text on a black background

contrast 13.34:1

Card sample

#ccc9fd text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9fd in the Color Lab