Skip to content

#d9cdf9

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

RGB
217, 205, 249
HSL
256°, 79%, 89%
CMYK
13, 18, 0, 2
Luminance
0.6525

Every format

HEX#d9cdf9
RGBrgb(217, 205, 249)
HSLhsl(256, 79%, 89%)
CMYKcmyk(13%, 18%, 0%, 2%)
LABlab(84.6 12.5 -20.1)
LCHlch(84.6 23.6 301.9)
OKLCHoklch(0.872 0.061 297.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9cdf9 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#d9cdf9 on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green80.4%
Blue97.6%

CMYK percentages

Cyan12.9%
Magenta17.7%
Yellow0.0%
Key (black)2.4%

Color previews

#d9cdf9 text on a black background

contrast 14.05:1

Card sample

#d9cdf9 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 205, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 205, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9cdf9;
background: linear-gradient(135deg, #d9cdf9, #F6CDF9);

Monochromatic scale

Palettes built from #d9cdf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9cdf9 in the Color Lab