Skip to content

#e2c9ee

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

RGB
226, 201, 238
HSL
281°, 52%, 86%
CMYK
5, 16, 0, 7
Luminance
0.6412

Every format

HEX#e2c9ee
RGBrgb(226, 201, 238)
HSLhsl(281, 52%, 86%)
CMYKcmyk(5%, 16%, 0%, 7%)
LABlab(84.0 15.3 -15.0)
LCHlch(84.0 21.5 315.6)
OKLCHoklch(0.868 0.057 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2c9ee on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#e2c9ee on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green78.8%
Blue93.3%

CMYK percentages

Cyan5.0%
Magenta15.5%
Yellow0.0%
Key (black)6.7%

Color previews

#e2c9ee text on a black background

contrast 13.82:1

Card sample

#e2c9ee text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2c9ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2c9ee in the Color Lab