Skip to content

#e2acf7

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

RGB
226, 172, 247
HSL
283°, 82%, 82%
CMYK
9, 30, 0, 3
Luminance
0.5239

Every format

HEX#e2acf7
RGBrgb(226, 172, 247)
HSLhsl(283, 82%, 82%)
CMYKcmyk(9%, 30%, 0%, 3%)
LABlab(77.5 32.6 -29.7)
LCHlch(77.5 44.2 317.7)
OKLCHoklch(0.819 0.117 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2acf7 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#e2acf7 on black: 11.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green67.5%
Blue96.9%

CMYK percentages

Cyan8.5%
Magenta30.4%
Yellow0.0%
Key (black)3.1%

Color previews

#e2acf7 text on a black background

contrast 11.48:1

Card sample

#e2acf7 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2acf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2acf7 in the Color Lab