Skip to content

#e98dfd

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

RGB
233, 141, 253
HSL
289°, 97%, 77%
CMYK
8, 44, 0, 1
Luminance
0.4347

Every format

HEX#e98dfd
RGBrgb(233, 141, 253)
HSLhsl(289, 97%, 77%)
CMYKcmyk(8%, 44%, 0%, 1%)
LABlab(71.9 52.2 -41.7)
LCHlch(71.9 66.8 321.4)
OKLCHoklch(0.779 0.180 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e98dfd on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#e98dfd on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.4%
Green55.3%
Blue99.2%

CMYK percentages

Cyan7.9%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#e98dfd text on a black background

contrast 9.69:1

Card sample

#e98dfd text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e98dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e98dfd in the Color Lab