Skip to content

#eb9dfb

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

RGB
235, 157, 251
HSL
290°, 92%, 80%
CMYK
6, 38, 0, 2
Luminance
0.4874

Every format

HEX#eb9dfb
RGBrgb(235, 157, 251)
HSLhsl(290, 92%, 80%)
CMYKcmyk(6%, 38%, 0%, 2%)
LABlab(75.3 44.1 -35.2)
LCHlch(75.3 56.5 321.4)
OKLCHoklch(0.805 0.152 320.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb9dfb on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#eb9dfb on black: 10.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green61.6%
Blue98.4%

CMYK percentages

Cyan6.4%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#eb9dfb text on a black background

contrast 10.75:1

Card sample

#eb9dfb text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb9dfb in the Color Lab