Skip to content

#ccc9fa

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

RGB
204, 201, 250
HSL
244°, 83%, 88%
CMYK
18, 20, 0, 2
Luminance
0.6151

Every format

HEX#ccc9fa
RGBrgb(204, 201, 250)
HSLhsl(244, 83%, 88%)
CMYKcmyk(18%, 20%, 0%, 2%)
LABlab(82.7 10.8 -23.6)
LCHlch(82.7 26.0 294.6)
OKLCHoklch(0.855 0.068 287.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.8%
Blue98.0%

CMYK percentages

Cyan18.4%
Magenta19.6%
Yellow0.0%
Key (black)2.0%

Color previews

#ccc9fa text on a black background

contrast 13.30:1

Card sample

#ccc9fa text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9fa in the Color Lab