Skip to content

#e2dafd

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

RGB
226, 218, 253
HSL
254°, 90%, 92%
CMYK
11, 14, 0, 1
Luminance
0.7340

Every format

HEX#e2dafd
RGBrgb(226, 218, 253)
HSLhsl(254, 90%, 92%)
CMYKcmyk(11%, 14%, 0%, 1%)
LABlab(88.6 9.3 -16.0)
LCHlch(88.6 18.5 300.1)
OKLCHoklch(0.905 0.048 295.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dafd on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#e2dafd on black: 15.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green85.5%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta13.8%
Yellow0.0%
Key (black)0.8%

Color previews

#e2dafd text on a black background

contrast 15.68:1

Card sample

#e2dafd text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dafd in the Color Lab