Skip to content

#e2d6fd

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

RGB
226, 214, 253
HSL
259°, 91%, 92%
CMYK
11, 15, 0, 1
Luminance
0.7135

Every format

HEX#e2d6fd
RGBrgb(226, 214, 253)
HSLhsl(259, 91%, 92%)
CMYKcmyk(11%, 15%, 0%, 1%)
LABlab(87.7 11.4 -17.5)
LCHlch(87.7 20.9 303.0)
OKLCHoklch(0.898 0.054 299.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d6fd on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#e2d6fd on black: 15.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green83.9%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta15.4%
Yellow0.0%
Key (black)0.8%

Color previews

#e2d6fd text on a black background

contrast 15.27:1

Card sample

#e2d6fd text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d6fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d6fd in the Color Lab