Skip to content

#e2ccfb

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

RGB
226, 204, 251
HSL
268°, 86%, 89%
CMYK
10, 19, 0, 2
Luminance
0.6632

Every format

HEX#e2ccfb
RGBrgb(226, 204, 251)
HSLhsl(268, 86%, 89%)
CMYKcmyk(10%, 19%, 0%, 2%)
LABlab(85.2 16.3 -20.2)
LCHlch(85.2 26.0 308.9)
OKLCHoklch(0.878 0.068 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#e2ccfb text on a black background

contrast 14.26:1

Card sample

#e2ccfb text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ccfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ccfb in the Color Lab