Skip to content

#ebaafe

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

RGB
235, 170, 254
HSL
286°, 98%, 83%
CMYK
8, 33, 0, 0
Luminance
0.5357

Every format

HEX#ebaafe
RGBrgb(235, 170, 254)
HSLhsl(286, 98%, 83%)
CMYKcmyk(8%, 33%, 0%, 0%)
LABlab(78.2 37.9 -32.4)
LCHlch(78.2 49.8 319.5)
OKLCHoklch(0.827 0.133 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebaafe on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ebaafe on black: 11.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green66.7%
Blue99.6%

CMYK percentages

Cyan7.5%
Magenta33.1%
Yellow0.0%
Key (black)0.4%

Color previews

#ebaafe text on a black background

contrast 11.71:1

Card sample

#ebaafe text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 170, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 170, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebaafe;
background: linear-gradient(135deg, #ebaafe, #FEAAD9);

Monochromatic scale

Palettes built from #ebaafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebaafe in the Color Lab