Skip to content

#eb9dff

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

RGB
235, 157, 255
HSL
288°, 100%, 81%
CMYK
8, 38, 0, 0
Luminance
0.4900

Every format

HEX#eb9dff
RGBrgb(235, 157, 255)
HSLhsl(288, 100%, 81%)
CMYKcmyk(8%, 38%, 0%, 0%)
LABlab(75.5 44.9 -37.2)
LCHlch(75.5 58.3 320.4)
OKLCHoklch(0.806 0.156 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb9dff on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#eb9dff on black: 10.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green61.6%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta38.4%
Yellow0.0%
Key (black)0.0%

Color previews

#eb9dff text on a black background

contrast 10.80:1

Card sample

#eb9dff text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb9dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb9dff in the Color Lab