Skip to content

#eb9df9

a light, electric magenta / pink · warm · closest name: violet

RGB
235, 157, 249
HSL
291°, 89%, 80%
CMYK
6, 37, 0, 2
Luminance
0.4862

Every format

HEX#eb9df9
RGBrgb(235, 157, 249)
HSLhsl(291, 89%, 80%)
CMYKcmyk(6%, 37%, 0%, 2%)
LABlab(75.2 43.8 -34.3)
LCHlch(75.2 55.6 321.9)
OKLCHoklch(0.804 0.150 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb9df9 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#eb9df9 on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green61.6%
Blue97.6%

CMYK percentages

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

Color previews

#eb9df9 text on a black background

contrast 10.72:1

Card sample

#eb9df9 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb9df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb9df9 in the Color Lab