Skip to content

#e2abfb

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

RGB
226, 171, 251
HSL
281°, 91%, 83%
CMYK
10, 32, 0, 2
Luminance
0.5226

Every format

HEX#e2abfb
RGBrgb(226, 171, 251)
HSLhsl(281, 91%, 83%)
CMYKcmyk(10%, 32%, 0%, 2%)
LABlab(77.4 34.0 -32.0)
LCHlch(77.4 46.7 316.7)
OKLCHoklch(0.819 0.124 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green67.1%
Blue98.4%

CMYK percentages

Cyan10.0%
Magenta31.9%
Yellow0.0%
Key (black)1.6%

Color previews

#e2abfb text on a black background

contrast 11.45:1

Card sample

#e2abfb text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2abfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2abfb in the Color Lab