Skip to content

#ea9dfb

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

RGB
234, 157, 251
HSL
289°, 92%, 80%
CMYK
7, 38, 0, 2
Luminance
0.4857

Every format

HEX#ea9dfb
RGBrgb(234, 157, 251)
HSLhsl(289, 92%, 80%)
CMYKcmyk(7%, 38%, 0%, 2%)
LABlab(75.2 43.8 -35.4)
LCHlch(75.2 56.4 321.1)
OKLCHoklch(0.804 0.152 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red91.8%
Green61.6%
Blue98.4%

CMYK percentages

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

Color previews

#ea9dfb text on a black background

contrast 10.71:1

Card sample

#ea9dfb text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ea9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ea9dfb in the Color Lab