Skip to content

#e2d2fd

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

RGB
226, 210, 253
HSL
262°, 92%, 91%
CMYK
11, 17, 0, 1
Luminance
0.6935

Every format

HEX#e2d2fd
RGBrgb(226, 210, 253)
HSLhsl(262, 92%, 91%)
CMYKcmyk(11%, 17%, 0%, 1%)
LABlab(86.7 13.5 -19.0)
LCHlch(86.7 23.3 305.4)
OKLCHoklch(0.890 0.061 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d2fd on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#e2d2fd on black: 14.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green82.4%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta17.0%
Yellow0.0%
Key (black)0.8%

Color previews

#e2d2fd text on a black background

contrast 14.87:1

Card sample

#e2d2fd text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d2fd in the Color Lab