#E97EF5#E97EF5

#E97EF5 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.196 H 323.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#E97EF5
RGBrgb(233, 126, 245)
HSLhsl(294, 86%, 73%)
HSVhsv(294, 49%, 96%)
CMYKcmyk(4.9%, 48.6%, 0%, 3.9%)
CIE-LABlab(68.64, 58.18, -42.35)
CIE-LCHlch(68.64, 71.96, 323.95°)
OKLaboklab(75.37% 0.1574 -0.1168)
OKLCHoklch(75.37% 0.196 323.4)
XYZxyz(57.5449, 38.8406, 90.8343)
Luminance0.3884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97EF5 #8AF57E
analogous
#AE7EF5 #E97EF5 #F57EC5
triadic
#E97EF5 #F5E97E #7EF5E9
tetradic
#E97EF5 #F5AE7E #8AF57E #7EC5F5
square
#E97EF5 #F5AE7E #8AF57E #7EC5F5
split-complementary
#E97EF5 #C5F57E #7EF5AE
monochromatic
#D112E7 #DF45F1 #E97EF5 #F3B7F9 #FAE3FD

Accessibility & contrast

On white

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

On black

8.77
#E97EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97EF5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97EF5#FFFFFF#000000##000000
##E97EF51.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9FF9
Deuteranopia (green-blind)
#8EACF2
Tritanopia (blue-blind)
#ED8DAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97ef5;
/* rgb */ color: rgb(233, 126, 245);
/* oklch */ color: oklch(75.4% 0.196 323.4);
Tailwind
colors: {
  custom: {
    50: '#f2a7f9',
    500: '#e97ef5',
    950: '#000000',
  },
}
SCSS
$custom: #e97ef5;
$custom-light: #f2a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ef5",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 293.95,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.19601,
    "h": 323.4
  },
  "luminance": 0.38838
}

Semantic roles & 50–950 ramp

primary
#E97EF5
secondary
#D9F5D6
accent
#E2031A
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E97EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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