Skip to content

#e4baff

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

RGB
228, 186, 255
HSL
277°, 100%, 87%
CMYK
11, 27, 0, 0
Luminance
0.5883

Every format

HEX#e4baff
RGBrgb(228, 186, 255)
HSLhsl(277, 100%, 87%)
CMYKcmyk(11%, 27%, 0%, 0%)
LABlab(81.2 27.4 -28.4)
LCHlch(81.2 39.4 314.0)
OKLCHoklch(0.849 0.104 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4baff on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#e4baff on black: 12.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green72.9%
Blue100.0%

CMYK percentages

Cyan10.6%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#e4baff text on a black background

contrast 12.77:1

Card sample

#e4baff text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4baff in the Color Lab