Skip to content

#e98afd

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

RGB
233, 138, 253
HSL
290°, 97%, 77%
CMYK
8, 46, 0, 1
Luminance
0.4259

Every format

HEX#e98afd
RGBrgb(233, 138, 253)
HSLhsl(290, 97%, 77%)
CMYKcmyk(8%, 46%, 0%, 1%)
LABlab(71.3 53.7 -42.6)
LCHlch(71.3 68.5 321.6)
OKLCHoklch(0.774 0.185 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e98afd on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#e98afd on black: 9.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.4%
Green54.1%
Blue99.2%

CMYK percentages

Cyan7.9%
Magenta45.5%
Yellow0.0%
Key (black)0.8%

Color previews

#e98afd text on a black background

contrast 9.52:1

Card sample

#e98afd text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e98afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e98afd in the Color Lab