Skip to content

#e4cdfb

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

RGB
228, 205, 251
HSL
270°, 85%, 89%
CMYK
9, 18, 0, 2
Luminance
0.6712

Every format

HEX#e4cdfb
RGBrgb(228, 205, 251)
HSLhsl(270, 85%, 89%)
CMYKcmyk(9%, 18%, 0%, 2%)
LABlab(85.6 16.4 -19.6)
LCHlch(85.6 25.5 309.9)
OKLCHoklch(0.882 0.067 307.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4cdfb on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#e4cdfb on black: 14.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green80.4%
Blue98.4%

CMYK percentages

Cyan9.2%
Magenta18.3%
Yellow0.0%
Key (black)1.6%

Color previews

#e4cdfb text on a black background

contrast 14.42:1

Card sample

#e4cdfb text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4cdfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4cdfb in the Color Lab