Skip to content

#e3cefd

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

RGB
227, 206, 253
HSL
267°, 92%, 90%
CMYK
10, 19, 0, 1
Luminance
0.6757

Every format

HEX#e3cefd
RGBrgb(227, 206, 253)
HSLhsl(267, 92%, 90%)
CMYKcmyk(10%, 19%, 0%, 1%)
LABlab(85.8 15.9 -20.3)
LCHlch(85.8 25.8 308.1)
OKLCHoklch(0.884 0.067 305.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.0%
Green80.8%
Blue99.2%

CMYK percentages

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

Color previews

#e3cefd text on a black background

contrast 14.51:1

Card sample

#e3cefd text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e3cefd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e3cefd in the Color Lab