Skip to content

#e7baff

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

RGB
231, 186, 255
HSL
279°, 100%, 87%
CMYK
9, 27, 0, 0
Luminance
0.5933

Every format

HEX#e7baff
RGBrgb(231, 186, 255)
HSLhsl(279, 100%, 87%)
CMYKcmyk(9%, 27%, 0%, 0%)
LABlab(81.5 28.3 -27.9)
LCHlch(81.5 39.7 315.4)
OKLCHoklch(0.851 0.105 313.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7baff on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#e7baff on black: 12.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green72.9%
Blue100.0%

CMYK percentages

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

Color previews

#e7baff text on a black background

contrast 12.87:1

Card sample

#e7baff text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e7baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7baff in the Color Lab