Skip to content

#e2cffc

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

RGB
226, 207, 252
HSL
265°, 88%, 90%
CMYK
10, 18, 0, 1
Luminance
0.6782

Every format

HEX#e2cffc
RGBrgb(226, 207, 252)
HSLhsl(265, 88%, 90%)
CMYKcmyk(10%, 18%, 0%, 1%)
LABlab(85.9 14.9 -19.6)
LCHlch(85.9 24.6 307.2)
OKLCHoklch(0.884 0.064 304.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2cffc on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#e2cffc on black: 14.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green81.2%
Blue98.8%

CMYK percentages

Cyan10.3%
Magenta17.9%
Yellow0.0%
Key (black)1.2%

Color previews

#e2cffc text on a black background

contrast 14.56:1

Card sample

#e2cffc text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2cffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2cffc in the Color Lab