Skip to content

#d9cdf3

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

RGB
217, 205, 243
HSL
259°, 61%, 88%
CMYK
11, 16, 0, 5
Luminance
0.6489

Every format

HEX#d9cdf3
RGBrgb(217, 205, 243)
HSLhsl(259, 61%, 88%)
CMYKcmyk(11%, 16%, 0%, 5%)
LABlab(84.4 11.3 -17.1)
LCHlch(84.4 20.5 303.3)
OKLCHoklch(0.870 0.053 299.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9cdf3 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#d9cdf3 on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green80.4%
Blue95.3%

CMYK percentages

Cyan10.7%
Magenta15.6%
Yellow0.0%
Key (black)4.7%

Color previews

#d9cdf3 text on a black background

contrast 13.98:1

Card sample

#d9cdf3 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9cdf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9cdf3 in the Color Lab