Skip to content

#e2daf6

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

RGB
226, 218, 246
HSL
257°, 61%, 91%
CMYK
8, 11, 0, 4
Luminance
0.7297

Every format

HEX#e2daf6
RGBrgb(226, 218, 246)
HSLhsl(257, 61%, 91%)
CMYKcmyk(8%, 11%, 0%, 4%)
LABlab(88.4 7.9 -12.7)
LCHlch(88.4 14.9 302.0)
OKLCHoklch(0.903 0.039 298.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2daf6 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#e2daf6 on black: 15.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green85.5%
Blue96.5%

CMYK percentages

Cyan8.1%
Magenta11.4%
Yellow0.0%
Key (black)3.5%

Color previews

#e2daf6 text on a black background

contrast 15.59:1

Card sample

#e2daf6 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2daf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2daf6 in the Color Lab