Skip to content

#ebaafb

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

RGB
235, 170, 251
HSL
288°, 91%, 83%
CMYK
6, 32, 0, 2
Luminance
0.5338

Every format

HEX#ebaafb
RGBrgb(235, 170, 251)
HSLhsl(288, 91%, 83%)
CMYKcmyk(6%, 32%, 0%, 2%)
LABlab(78.1 37.3 -30.9)
LCHlch(78.1 48.4 320.3)
OKLCHoklch(0.826 0.130 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebaafb on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ebaafb on black: 11.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green66.7%
Blue98.4%

CMYK percentages

Cyan6.4%
Magenta32.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ebaafb text on a black background

contrast 11.68:1

Card sample

#ebaafb text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebaafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebaafb in the Color Lab