Skip to content

#e2d6ff

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

RGB
226, 214, 255
HSL
258°, 100%, 92%
CMYK
11, 16, 0, 0
Luminance
0.7148

Every format

HEX#e2d6ff
RGBrgb(226, 214, 255)
HSLhsl(258, 100%, 92%)
CMYKcmyk(11%, 16%, 0%, 0%)
LABlab(87.7 11.8 -18.5)
LCHlch(87.7 21.9 302.5)
OKLCHoklch(0.899 0.057 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d6ff on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#e2d6ff on black: 15.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green83.9%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta16.1%
Yellow0.0%
Key (black)0.0%

Color previews

#e2d6ff text on a black background

contrast 15.30:1

Card sample

#e2d6ff text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d6ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d6ff in the Color Lab