Skip to content

#e97dfd

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

RGB
233, 125, 253
HSL
291°, 97%, 74%
CMYK
8, 51, 0, 1
Luminance
0.3908

Every format

HEX#e97dfd
RGBrgb(233, 125, 253)
HSLhsl(291, 97%, 74%)
CMYKcmyk(8%, 51%, 0%, 1%)
LABlab(68.8 60.1 -46.5)
LCHlch(68.8 76.0 322.3)
OKLCHoklch(0.756 0.205 321.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e97dfd on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#e97dfd on black: 8.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.4%
Green49.0%
Blue99.2%

CMYK percentages

Cyan7.9%
Magenta50.6%
Yellow0.0%
Key (black)0.8%

Color previews

#e97dfd text on a black background

contrast 8.82:1

Card sample

#e97dfd text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(233, 125, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(233, 125, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e97dfd;
background: linear-gradient(135deg, #e97dfd, #FD7DBC);

Monochromatic scale

Palettes built from #e97dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e97dfd in the Color Lab