Skip to content

#ebacf9

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

RGB
235, 172, 249
HSL
289°, 87%, 83%
CMYK
6, 31, 0, 2
Luminance
0.5401

Every format

HEX#ebacf9
RGBrgb(235, 172, 249)
HSLhsl(289, 87%, 83%)
CMYKcmyk(6%, 31%, 0%, 2%)
LABlab(78.5 35.8 -29.3)
LCHlch(78.5 46.3 320.8)
OKLCHoklch(0.829 0.124 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green67.5%
Blue97.6%

CMYK percentages

Cyan5.6%
Magenta30.9%
Yellow0.0%
Key (black)2.4%

Color previews

#ebacf9 text on a black background

contrast 11.80:1

Card sample

#ebacf9 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebacf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebacf9 in the Color Lab