Skip to content

#ebacfc

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

RGB
235, 172, 252
HSL
287°, 93%, 83%
CMYK
7, 32, 0, 1
Luminance
0.5420

Every format

HEX#ebacfc
RGBrgb(235, 172, 252)
HSLhsl(287, 93%, 83%)
CMYKcmyk(7%, 32%, 0%, 1%)
LABlab(78.6 36.4 -30.7)
LCHlch(78.6 47.6 319.8)
OKLCHoklch(0.830 0.128 319.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebacfc on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ebacfc on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green67.5%
Blue98.8%

CMYK percentages

Cyan6.7%
Magenta31.7%
Yellow0.0%
Key (black)1.2%

Color previews

#ebacfc text on a black background

contrast 11.84:1

Card sample

#ebacfc text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebacfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebacfc in the Color Lab