Skip to content

#e4ddff

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

RGB
228, 221, 255
HSL
252°, 100%, 93%
CMYK
11, 13, 0, 0
Luminance
0.7543

Every format

HEX#e4ddff
RGBrgb(228, 221, 255)
HSLhsl(252, 100%, 93%)
CMYKcmyk(11%, 13%, 0%, 0%)
LABlab(89.6 8.7 -15.6)
LCHlch(89.6 17.9 299.2)
OKLCHoklch(0.913 0.046 294.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green86.7%
Blue100.0%

CMYK percentages

Cyan10.6%
Magenta13.3%
Yellow0.0%
Key (black)0.0%

Color previews

#e4ddff text on a black background

contrast 16.09:1

Card sample

#e4ddff text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4ddff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ddff in the Color Lab