Skip to content

#d9c4df

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

RGB
217, 196, 223
HSL
287°, 30%, 82%
CMYK
3, 12, 0, 13
Luminance
0.5956

Every format

HEX#d9c4df
RGBrgb(217, 196, 223)
HSLhsl(287, 30%, 82%)
CMYKcmyk(3%, 12%, 0%, 13%)
LABlab(81.6 12.2 -10.7)
LCHlch(81.6 16.2 318.6)
OKLCHoklch(0.846 0.043 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9c4df on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#d9c4df on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green76.9%
Blue87.5%

CMYK percentages

Cyan2.7%
Magenta12.1%
Yellow0.0%
Key (black)12.5%

Color previews

#d9c4df text on a black background

contrast 12.91:1

Card sample

#d9c4df text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9c4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9c4df in the Color Lab