Skip to content

#e4acfd

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

RGB
228, 172, 253
HSL
282°, 95%, 83%
CMYK
10, 32, 0, 1
Luminance
0.5309

Every format

HEX#e4acfd
RGBrgb(228, 172, 253)
HSLhsl(282, 95%, 83%)
CMYKcmyk(10%, 32%, 0%, 1%)
LABlab(77.9 34.5 -32.3)
LCHlch(77.9 47.2 316.9)
OKLCHoklch(0.823 0.125 315.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4acfd on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#e4acfd on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green67.5%
Blue99.2%

CMYK percentages

Cyan9.9%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#e4acfd text on a black background

contrast 11.62:1

Card sample

#e4acfd text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4acfd in the Color Lab