Skip to content

#e1acfd

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

RGB
225, 172, 253
HSL
279°, 95%, 83%
CMYK
11, 32, 0, 1
Luminance
0.5260

Every format

HEX#e1acfd
RGBrgb(225, 172, 253)
HSLhsl(279, 95%, 83%)
CMYKcmyk(11%, 32%, 0%, 1%)
LABlab(77.6 33.5 -32.8)
LCHlch(77.6 46.9 315.7)
OKLCHoklch(0.821 0.124 313.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan11.1%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#e1acfd text on a black background

contrast 11.52:1

Card sample

#e1acfd text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e1acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e1acfd in the Color Lab