Skip to content

#e5dafd

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

RGB
229, 218, 253
HSL
259°, 90%, 92%
CMYK
10, 14, 0, 1
Luminance
0.7389

Every format

HEX#e5dafd
RGBrgb(229, 218, 253)
HSLhsl(259, 90%, 92%)
CMYKcmyk(10%, 14%, 0%, 1%)
LABlab(88.9 10.2 -15.7)
LCHlch(88.9 18.7 303.2)
OKLCHoklch(0.908 0.049 299.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e5dafd on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#e5dafd on black: 15.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.8%
Green85.5%
Blue99.2%

CMYK percentages

Cyan9.5%
Magenta13.8%
Yellow0.0%
Key (black)0.8%

Color previews

#e5dafd text on a black background

contrast 15.78:1

Card sample

#e5dafd text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e5dafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e5dafd in the Color Lab