#E97DFD#E97DFD

#E97DFD is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.6% C 0.205 H 321.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#E97DFD
RGBrgb(233, 125, 253)
HSLhsl(291, 97%, 74%)
HSVhsv(291, 51%, 99%)
CMYKcmyk(7.9%, 50.6%, 0%, 0.8%)
CIE-LABlab(68.81, 60.14, -46.45)
CIE-LCHlch(68.81, 75.99, 322.32°)
OKLaboklab(75.62% 0.1598 -0.1286)
OKLCHoklch(75.62% 0.205 321.2)
XYZxyz(58.6655, 39.0852, 97.3635)
Luminance0.3908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DFD #91FD7D
analogous
#A97DFD #E97DFD #FD7DD1
triadic
#E97DFD #FDE97D #7DFDE9
tetradic
#E97DFD #FDA97D #91FD7D #7DD1FD
square
#E97DFD #FDA97D #91FD7D #7DD1FD
split-complementary
#E97DFD #D1FD7D #7DFDA9
monochromatic
#D504FB #DF41FC #E97DFD #F3B9FE #FAE1FF

Accessibility & contrast

On white

2.38
#E97DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#E97DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DFD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DFD#FFFFFF#000000##000000
##E97DFD1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#89ACF9
Tritanopia (blue-blind)
#EB8EB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e97dfd;
/* rgb */ color: rgb(233, 125, 253);
/* oklch */ color: oklch(75.6% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#f2a6fe',
    500: '#e97dfd',
    950: '#000000',
  },
}
SCSS
$custom: #e97dfd;
$custom-light: #f2a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e97dfd",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 290.625,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75621,
    "c": 0.20511,
    "h": 321.2
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#E97DFD
secondary
#DAF7D4
accent
#E60024
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E97DFD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E97DFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva