Skip to content

#ebacfb

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

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

Every format

HEX#ebacfb
RGBrgb(235, 172, 251)
HSLhsl(288, 91%, 83%)
CMYKcmyk(6%, 32%, 0%, 2%)
LABlab(78.5 36.2 -30.2)
LCHlch(78.5 47.2 320.1)
OKLCHoklch(0.829 0.127 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebacfb on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ebacfb on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green67.5%
Blue98.4%

CMYK percentages

Cyan6.4%
Magenta31.5%
Yellow0.0%
Key (black)1.6%

Color previews

#ebacfb text on a black background

contrast 11.83:1

Card sample

#ebacfb text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebacfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebacfb in the Color Lab