Skip to content

#e2cefd

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

RGB
226, 206, 253
HSL
266°, 92%, 90%
CMYK
11, 19, 0, 1
Luminance
0.6740

Every format

HEX#e2cefd
RGBrgb(226, 206, 253)
HSLhsl(266, 92%, 90%)
CMYKcmyk(11%, 19%, 0%, 1%)
LABlab(85.7 15.6 -20.4)
LCHlch(85.7 25.7 307.4)
OKLCHoklch(0.883 0.067 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2cefd on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#e2cefd on black: 14.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green80.8%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta18.6%
Yellow0.0%
Key (black)0.8%

Color previews

#e2cefd text on a black background

contrast 14.48:1

Card sample

#e2cefd text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2cefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2cefd in the Color Lab