Skip to content

#ccc9dc

a light, soft blue · warm · closest name: lavender

RGB
204, 201, 220
HSL
250°, 21%, 83%
CMYK
7, 9, 0, 14
Luminance
0.5978

Every format

HEX#ccc9dc
RGBrgb(204, 201, 220)
HSLhsl(250, 21%, 83%)
CMYKcmyk(7%, 9%, 0%, 14%)
LABlab(81.7 4.6 -9.0)
LCHlch(81.7 10.2 297.0)
OKLCHoklch(0.844 0.026 293.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9dc on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9dc on black: 12.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue86.3%

CMYK percentages

Cyan7.3%
Magenta8.6%
Yellow0.0%
Key (black)13.7%

Color previews

#ccc9dc text on a black background

contrast 12.96:1

Card sample

#ccc9dc text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9dc in the Color Lab