Skip to content

#ebacff

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

RGB
235, 172, 255
HSL
286°, 100%, 84%
CMYK
8, 33, 0, 0
Luminance
0.5439

Every format

HEX#ebacff
RGBrgb(235, 172, 255)
HSLhsl(286, 100%, 84%)
CMYKcmyk(8%, 33%, 0%, 0%)
LABlab(78.7 37.0 -32.1)
LCHlch(78.7 49.0 319.0)
OKLCHoklch(0.831 0.131 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green67.5%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#ebacff text on a black background

contrast 11.88:1

Card sample

#ebacff text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebacff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebacff in the Color Lab