Skip to content

#e2ccf4

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

RGB
226, 204, 244
HSL
273°, 65%, 88%
CMYK
7, 16, 0, 4
Luminance
0.6589

Every format

HEX#e2ccf4
RGBrgb(226, 204, 244)
HSLhsl(273, 65%, 88%)
CMYKcmyk(7%, 16%, 0%, 4%)
LABlab(84.9 14.9 -16.8)
LCHlch(84.9 22.5 311.5)
OKLCHoklch(0.876 0.059 309.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ccf4 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#e2ccf4 on black: 14.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green80.0%
Blue95.7%

CMYK percentages

Cyan7.4%
Magenta16.4%
Yellow0.0%
Key (black)4.3%

Color previews

#e2ccf4 text on a black background

contrast 14.18:1

Card sample

#e2ccf4 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ccf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ccf4 in the Color Lab