Skip to content

#e2d8fd

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

RGB
226, 216, 253
HSL
256°, 90%, 92%
CMYK
11, 15, 0, 1
Luminance
0.7237

Every format

HEX#e2d8fd
RGBrgb(226, 216, 253)
HSLhsl(256, 90%, 92%)
CMYKcmyk(11%, 15%, 0%, 1%)
LABlab(88.2 10.3 -16.8)
LCHlch(88.2 19.7 301.6)
OKLCHoklch(0.902 0.051 297.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d8fd on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#e2d8fd on black: 15.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green84.7%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta14.6%
Yellow0.0%
Key (black)0.8%

Color previews

#e2d8fd text on a black background

contrast 15.47:1

Card sample

#e2d8fd text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d8fd in the Color Lab