Skip to content

#e1def7

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

RGB
225, 222, 247
HSL
247°, 61%, 92%
CMYK
9, 10, 0, 3
Luminance
0.7497

Every format

HEX#e1def7
RGBrgb(225, 222, 247)
HSLhsl(247, 61%, 92%)
CMYKcmyk(9%, 10%, 0%, 3%)
LABlab(89.4 5.7 -11.8)
LCHlch(89.4 13.1 295.7)
OKLCHoklch(0.910 0.034 291.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.2%
Green87.1%
Blue96.9%

CMYK percentages

Cyan8.9%
Magenta10.1%
Yellow0.0%
Key (black)3.1%

Color previews

#e1def7 text on a black background

contrast 15.99:1

Card sample

#e1def7 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e1def7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e1def7 in the Color Lab