Skip to content

#e2def2

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

RGB
226, 222, 242
HSL
252°, 44%, 91%
CMYK
7, 8, 0, 5
Luminance
0.7482

Every format

HEX#e2def2
RGBrgb(226, 222, 242)
HSLhsl(252, 44%, 91%)
CMYKcmyk(7%, 8%, 0%, 5%)
LABlab(89.3 5.0 -9.2)
LCHlch(89.3 10.5 298.6)
OKLCHoklch(0.910 0.027 295.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2def2 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#e2def2 on black: 15.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.1%
Blue94.9%

CMYK percentages

Cyan6.6%
Magenta8.3%
Yellow0.0%
Key (black)5.1%

Color previews

#e2def2 text on a black background

contrast 15.96:1

Card sample

#e2def2 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2def2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2def2 in the Color Lab