Skip to content

#e2dfec

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

RGB
226, 223, 236
HSL
254°, 26%, 90%
CMYK
4, 6, 0, 8
Luminance
0.7500

Every format

HEX#e2dfec
RGBrgb(226, 223, 236)
HSLhsl(254, 26%, 90%)
CMYKcmyk(4%, 6%, 0%, 8%)
LABlab(89.4 3.4 -6.0)
LCHlch(89.4 6.9 299.5)
OKLCHoklch(0.910 0.018 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dfec on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#e2dfec on black: 16.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue92.5%

CMYK percentages

Cyan4.2%
Magenta5.5%
Yellow0.0%
Key (black)7.5%

Color previews

#e2dfec text on a black background

contrast 16.00:1

Card sample

#e2dfec text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dfec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfec in the Color Lab