#E97DF8#E97DF8

#E97DF8 is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.4% C 0.200 H 322.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#E97DF8
RGBrgb(233, 125, 248)
HSLhsl(293, 90%, 73%)
HSVhsv(293, 50%, 97%)
CMYKcmyk(6%, 49.6%, 0%, 2.7%)
CIE-LABlab(68.58, 59.21, -44.08)
CIE-LCHlch(68.58, 73.82, 323.34°)
OKLaboklab(75.38% 0.1592 -0.1217)
OKLCHoklch(75.38% 0.2 322.6)
XYZxyz(57.8794, 38.7708, 93.2235)
Luminance0.3877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DF8 #8CF87D
analogous
#AB7DF8 #E97DF8 #F87DC9
triadic
#E97DF8 #F8E97D #7DF8E9
tetradic
#E97DF8 #F8AB7D #8CF87D #7DC9F8
square
#E97DF8 #F8AB7D #8CF87D #7DC9F8
split-complementary
#E97DF8 #C9F87D #7DF8AB
monochromatic
#D20DEE #DF43F5 #E97DF8 #F3B7FB #FAE2FD

Accessibility & contrast

On white

2.40
#E97DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#E97DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DF8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DF8#FFFFFF#000000##000000
##E97DF81.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#8CACF4
Tritanopia (blue-blind)
#EC8DAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97df8;
/* rgb */ color: rgb(233, 125, 248);
/* oklch */ color: oklch(75.4% 0.200 322.6);
Tailwind
colors: {
  custom: {
    50: '#f2a6fb',
    500: '#e97df8',
    950: '#000000',
  },
}
SCSS
$custom: #e97df8;
$custom-light: #f2a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e97df8",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 292.683,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75378,
    "c": 0.20039,
    "h": 322.6
  },
  "luminance": 0.38768
}

Semantic roles & 50–950 ramp

primary
#E97DF8
secondary
#D9F6D5
accent
#E6001C
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E97DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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