Skip to content

#e2dffc

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

RGB
226, 223, 252
HSL
246°, 83%, 93%
CMYK
10, 12, 0, 1
Luminance
0.7597

Every format

HEX#e2dffc
RGBrgb(226, 223, 252)
HSLhsl(246, 83%, 93%)
CMYKcmyk(10%, 12%, 0%, 1%)
LABlab(89.8 6.5 -13.7)
LCHlch(89.8 15.1 295.3)
OKLCHoklch(0.915 0.039 290.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dffc on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#e2dffc on black: 16.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue98.8%

CMYK percentages

Cyan10.3%
Magenta11.5%
Yellow0.0%
Key (black)1.2%

Color previews

#e2dffc text on a black background

contrast 16.19:1

Card sample

#e2dffc text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dffc in the Color Lab