#E97EF8#E97EF8

#E97EF8 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.5% C 0.199 H 322.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#E97EF8
RGBrgb(233, 126, 248)
HSLhsl(293, 90%, 73%)
HSVhsv(293, 49%, 97%)
CMYKcmyk(6%, 49.2%, 0%, 2.7%)
CIE-LABlab(68.77, 58.73, -43.79)
CIE-LCHlch(68.77, 73.25, 323.29°)
OKLaboklab(75.52% 0.1579 -0.1209)
OKLCHoklch(75.52% 0.199 322.6)
XYZxyz(58.0066, 39.0253, 93.2659)
Luminance0.3902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97EF8 #8DF87E
analogous
#AC7EF8 #E97EF8 #F87ECA
triadic
#E97EF8 #F8E97E #7EF8E9
tetradic
#E97EF8 #F8AC7E #8DF87E #7ECAF8
square
#E97EF8 #F8AC7E #8DF87E #7ECAF8
split-complementary
#E97EF8 #CAF87E #7EF8AC
monochromatic
#D30DEF #DF44F5 #E97EF8 #F3B8FB #FAE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E97EF8#FFFFFF#000000##000000
##E97EF81.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)
#6CA0FC
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#EC8EB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e97ef8;
/* rgb */ color: rgb(233, 126, 248);
/* oklch */ color: oklch(75.5% 0.199 322.6);
Tailwind
colors: {
  custom: {
    50: '#f2a7fb',
    500: '#e97ef8',
    950: '#000000',
  },
}
SCSS
$custom: #e97ef8;
$custom-light: #f2a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ef8",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 292.623,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75515,
    "c": 0.19883,
    "h": 322.6
  },
  "luminance": 0.39023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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