Skip to content

#ebaafc

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

RGB
235, 170, 252
HSL
288°, 93%, 83%
CMYK
7, 33, 0, 1
Luminance
0.5344

Every format

HEX#ebaafc
RGBrgb(235, 170, 252)
HSLhsl(288, 93%, 83%)
CMYKcmyk(7%, 33%, 0%, 1%)
LABlab(78.1 37.5 -31.4)
LCHlch(78.1 48.9 320.0)
OKLCHoklch(0.826 0.131 319.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebaafc on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ebaafc on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green66.7%
Blue98.8%

CMYK percentages

Cyan6.7%
Magenta32.5%
Yellow0.0%
Key (black)1.2%

Color previews

#ebaafc text on a black background

contrast 11.69:1

Card sample

#ebaafc text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebaafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebaafc in the Color Lab