Skip to content

#e2daf9

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

RGB
226, 218, 249
HSL
256°, 72%, 92%
CMYK
9, 12, 0, 2
Luminance
0.7315

Every format

HEX#e2daf9
RGBrgb(226, 218, 249)
HSLhsl(256, 72%, 92%)
CMYKcmyk(9%, 12%, 0%, 2%)
LABlab(88.5 8.5 -14.1)
LCHlch(88.5 16.5 301.1)
OKLCHoklch(0.904 0.043 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green85.5%
Blue97.6%

CMYK percentages

Cyan9.2%
Magenta12.4%
Yellow0.0%
Key (black)2.4%

Color previews

#e2daf9 text on a black background

contrast 15.63:1

Card sample

#e2daf9 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2daf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2daf9 in the Color Lab