Skip to content

#e2ddfe

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

RGB
226, 221, 254
HSL
249°, 94%, 93%
CMYK
11, 13, 0, 0
Luminance
0.7504

Every format

HEX#e2ddfe
RGBrgb(226, 221, 254)
HSLhsl(249, 94%, 93%)
CMYKcmyk(11%, 13%, 0%, 0%)
LABlab(89.4 7.9 -15.4)
LCHlch(89.4 17.3 297.2)
OKLCHoklch(0.912 0.045 292.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ddfe on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#e2ddfe on black: 16.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green86.7%
Blue99.6%

CMYK percentages

Cyan11.0%
Magenta13.0%
Yellow0.0%
Key (black)0.4%

Color previews

#e2ddfe text on a black background

contrast 16.01:1

Card sample

#e2ddfe text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ddfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ddfe in the Color Lab