#E97DFC#E97DFC

#E97DFC is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.204 H 321.5°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#E97DFC
RGBrgb(233, 125, 252)
HSLhsl(291, 95%, 74%)
HSVhsv(291, 50%, 99%)
CMYKcmyk(7.5%, 50.4%, 0%, 1.2%)
CIE-LABlab(68.77, 59.95, -45.98)
CIE-LCHlch(68.77, 75.56, 322.52°)
OKLaboklab(75.57% 0.1597 -0.1272)
OKLCHoklch(75.57% 0.204 321.5)
XYZxyz(58.5066, 39.0217, 96.5267)
Luminance0.3902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DFC #90FC7D
analogous
#AA7DFC #E97DFC #FC7DD0
triadic
#E97DFC #FCE97D #7DFCE9
tetradic
#E97DFC #FCAA7D #90FC7D #7DD0FC
square
#E97DFC #FCAA7D #90FC7D #7DD0FC
split-complementary
#E97DFC #D0FC7D #7DFCAA
monochromatic
#D406F9 #DF41FB #E97DFC #F3B9FD #FAE1FE

Accessibility & contrast

On white

2.39
#E97DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#E97DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DFC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DFC#FFFFFF#000000##000000
##E97DFC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#EB8EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e97dfc;
/* rgb */ color: rgb(233, 125, 252);
/* oklch */ color: oklch(75.6% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#f2a6fe',
    500: '#e97dfc',
    950: '#000000',
  },
}
SCSS
$custom: #e97dfc;
$custom-light: #f2a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e97dfc",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 291.024,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75572,
    "c": 0.20416,
    "h": 321.5
  },
  "luminance": 0.39019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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