Skip to content

#d2c4ee

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

RGB
210, 196, 238
HSL
260°, 55%, 85%
CMYK
12, 18, 0, 7
Luminance
0.5935

Every format

HEX#d2c4ee
RGBrgb(210, 196, 238)
HSLhsl(260, 55%, 85%)
CMYKcmyk(12%, 18%, 0%, 7%)
LABlab(81.5 12.8 -19.0)
LCHlch(81.5 22.9 304.1)
OKLCHoklch(0.845 0.060 300.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green76.9%
Blue93.3%

CMYK percentages

Cyan11.8%
Magenta17.6%
Yellow0.0%
Key (black)6.7%

Color previews

#d2c4ee text on a black background

contrast 12.87:1

Card sample

#d2c4ee text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c4ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2c4ee in the Color Lab