Skip to content

#d2c2ee

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

RGB
210, 194, 238
HSL
262°, 56%, 85%
CMYK
12, 19, 0, 7
Luminance
0.5846

Every format

HEX#d2c2ee
RGBrgb(210, 194, 238)
HSLhsl(262, 56%, 85%)
CMYKcmyk(12%, 19%, 0%, 7%)
LABlab(81.0 13.9 -19.7)
LCHlch(81.0 24.1 305.2)
OKLCHoklch(0.841 0.063 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2c2ee on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#d2c2ee on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green76.1%
Blue93.3%

CMYK percentages

Cyan11.8%
Magenta18.5%
Yellow0.0%
Key (black)6.7%

Color previews

#d2c2ee text on a black background

contrast 12.69:1

Card sample

#d2c2ee text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2c2ee in the Color Lab