Skip to content

#e2aaee

a light, vivid violet · warm · closest name: plum

RGB
226, 170, 238
HSL
289°, 67%, 80%
CMYK
5, 29, 0, 7
Luminance
0.5109

Every format

HEX#e2aaee
RGBrgb(226, 170, 238)
HSLhsl(289, 67%, 80%)
CMYKcmyk(5%, 29%, 0%, 7%)
LABlab(76.7 32.0 -26.1)
LCHlch(76.7 41.3 320.8)
OKLCHoklch(0.812 0.111 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2aaee on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#e2aaee on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green66.7%
Blue93.3%

CMYK percentages

Cyan5.0%
Magenta28.6%
Yellow0.0%
Key (black)6.7%

Color previews

#e2aaee text on a black background

contrast 11.22:1

Card sample

#e2aaee text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2aaee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2aaee in the Color Lab