Skip to content

#e9d2ff

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

RGB
233, 210, 255
HSL
271°, 100%, 91%
CMYK
9, 18, 0, 0
Luminance
0.7064

Every format

HEX#e9d2ff
RGBrgb(233, 210, 255)
HSLhsl(271, 100%, 91%)
CMYKcmyk(9%, 18%, 0%, 0%)
LABlab(87.3 16.1 -19.0)
LCHlch(87.3 24.9 310.3)
OKLCHoklch(0.897 0.065 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e9d2ff on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#e9d2ff on black: 15.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.4%
Green82.4%
Blue100.0%

CMYK percentages

Cyan8.6%
Magenta17.6%
Yellow0.0%
Key (black)0.0%

Color previews

#e9d2ff text on a black background

contrast 15.13:1

Card sample

#e9d2ff text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e9d2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e9d2ff in the Color Lab