Skip to content

#e2acfd

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

RGB
226, 172, 253
HSL
280°, 95%, 83%
CMYK
11, 32, 0, 1
Luminance
0.5277

Every format

HEX#e2acfd
RGBrgb(226, 172, 253)
HSLhsl(280, 95%, 83%)
CMYKcmyk(11%, 32%, 0%, 1%)
LABlab(77.7 33.9 -32.6)
LCHlch(77.7 47.0 316.1)
OKLCHoklch(0.822 0.124 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2acfd on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#e2acfd on black: 11.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green67.5%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#e2acfd text on a black background

contrast 11.55:1

Card sample

#e2acfd text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2acfd in the Color Lab