Skip to content

#e2bafd

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

RGB
226, 186, 253
HSL
276°, 94%, 86%
CMYK
11, 27, 0, 1
Luminance
0.5838

Every format

HEX#e2bafd
RGBrgb(226, 186, 253)
HSLhsl(276, 94%, 86%)
CMYKcmyk(11%, 27%, 0%, 1%)
LABlab(81.0 26.3 -27.7)
LCHlch(81.0 38.2 313.6)
OKLCHoklch(0.846 0.101 311.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2bafd on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#e2bafd on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green72.9%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta26.5%
Yellow0.0%
Key (black)0.8%

Color previews

#e2bafd text on a black background

contrast 12.68:1

Card sample

#e2bafd text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2bafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2bafd in the Color Lab