Skip to content

#ebacfa

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

RGB
235, 172, 250
HSL
289°, 89%, 83%
CMYK
6, 31, 0, 2
Luminance
0.5407

Every format

HEX#ebacfa
RGBrgb(235, 172, 250)
HSLhsl(289, 89%, 83%)
CMYKcmyk(6%, 31%, 0%, 2%)
LABlab(78.5 36.0 -29.8)
LCHlch(78.5 46.7 320.4)
OKLCHoklch(0.829 0.126 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green67.5%
Blue98.0%

CMYK percentages

Cyan6.0%
Magenta31.2%
Yellow0.0%
Key (black)2.0%

Color previews

#ebacfa text on a black background

contrast 11.81:1

Card sample

#ebacfa text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebacfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebacfa in the Color Lab