Skip to content

#e2cdfb

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

RGB
226, 205, 251
HSL
267°, 85%, 89%
CMYK
10, 18, 0, 2
Luminance
0.6680

Every format

HEX#e2cdfb
RGBrgb(226, 205, 251)
HSLhsl(267, 85%, 89%)
CMYKcmyk(10%, 18%, 0%, 2%)
LABlab(85.4 15.8 -19.9)
LCHlch(85.4 25.4 308.4)
OKLCHoklch(0.880 0.066 305.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green80.4%
Blue98.4%

CMYK percentages

Cyan10.0%
Magenta18.3%
Yellow0.0%
Key (black)1.6%

Color previews

#e2cdfb text on a black background

contrast 14.36:1

Card sample

#e2cdfb text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2cdfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2cdfb in the Color Lab