Skip to content

#e2baff

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

RGB
226, 186, 255
HSL
275°, 100%, 87%
CMYK
11, 27, 0, 0
Luminance
0.5851

Every format

HEX#e2baff
RGBrgb(226, 186, 255)
HSLhsl(275, 100%, 87%)
CMYKcmyk(11%, 27%, 0%, 0%)
LABlab(81.0 26.7 -28.6)
LCHlch(81.0 39.2 313.0)
OKLCHoklch(0.847 0.103 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2baff on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#e2baff on black: 12.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green72.9%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#e2baff text on a black background

contrast 12.70:1

Card sample

#e2baff text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2baff in the Color Lab