Skip to content

#e2dfff

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

RGB
226, 223, 255
HSL
246°, 100%, 94%
CMYK
11, 13, 0, 0
Luminance
0.7616

Every format

HEX#e2dfff
RGBrgb(226, 223, 255)
HSLhsl(246, 100%, 94%)
CMYKcmyk(11%, 13%, 0%, 0%)
LABlab(89.9 7.0 -15.1)
LCHlch(89.9 16.7 295.0)
OKLCHoklch(0.916 0.043 289.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dfff on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#e2dfff on black: 16.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta12.5%
Yellow0.0%
Key (black)0.0%

Color previews

#e2dfff text on a black background

contrast 16.23:1

Card sample

#e2dfff text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfff in the Color Lab