Skip to content

#e2ccf9

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

RGB
226, 204, 249
HSL
269°, 79%, 89%
CMYK
9, 18, 0, 2
Luminance
0.6619

Every format

HEX#e2ccf9
RGBrgb(226, 204, 249)
HSLhsl(269, 79%, 89%)
CMYKcmyk(9%, 18%, 0%, 2%)
LABlab(85.1 15.9 -19.3)
LCHlch(85.1 25.0 309.5)
OKLCHoklch(0.878 0.065 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green80.0%
Blue97.6%

CMYK percentages

Cyan9.2%
Magenta18.1%
Yellow0.0%
Key (black)2.4%

Color previews

#e2ccf9 text on a black background

contrast 14.24:1

Card sample

#e2ccf9 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ccf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ccf9 in the Color Lab