Skip to content

#e2ccfd

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

RGB
226, 204, 253
HSL
267°, 93%, 90%
CMYK
11, 19, 0, 1
Luminance
0.6645

Every format

HEX#e2ccfd
RGBrgb(226, 204, 253)
HSLhsl(267, 93%, 90%)
CMYKcmyk(11%, 19%, 0%, 1%)
LABlab(85.2 16.7 -21.2)
LCHlch(85.2 27.0 308.2)
OKLCHoklch(0.879 0.070 305.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ccfd on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#e2ccfd on black: 14.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green80.0%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#e2ccfd text on a black background

contrast 14.29:1

Card sample

#e2ccfd text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ccfd in the Color Lab