#E97EF1#E97EF1

#E97EF1 is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.192 H 324.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#E97EF1
RGBrgb(233, 126, 241)
HSLhsl(296, 80%, 72%)
HSVhsv(296, 48%, 95%)
CMYKcmyk(3.3%, 47.7%, 0%, 5.5%)
CIE-LABlab(68.46, 57.45, -40.43)
CIE-LCHlch(68.46, 70.25, 324.86°)
OKLaboklab(75.18% 0.1569 -0.1112)
OKLCHoklch(75.18% 0.192 324.7)
XYZxyz(56.9409, 38.5990, 87.6531)
Luminance0.3860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97EF1 #86F17E
analogous
#B07EF1 #E97EF1 #F17EC0
triadic
#E97EF1 #F1E97E #7EF1E9
tetradic
#E97EF1 #F1B07E #86F17E #7EC0F1
square
#E97EF1 #F1B07E #86F17E #7EC0F1
split-complementary
#E97EF1 #C0F17E #7EF1B0
monochromatic
#CF18DD #E047EB #E97EF1 #F2B5F7 #FAE3FC

Accessibility & contrast

On white

2.41
#E97EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#E97EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97EF1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97EF1#FFFFFF#000000##000000
##E97EF11.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF5
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#ED8BAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97ef1;
/* rgb */ color: rgb(233, 126, 241);
/* oklch */ color: oklch(75.2% 0.192 324.7);
Tailwind
colors: {
  custom: {
    50: '#f2a7f6',
    500: '#e97ef1',
    950: '#000000',
  },
}
SCSS
$custom: #e97ef1;
$custom-light: #f2a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ef1",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 295.826,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75184,
    "c": 0.19229,
    "h": 324.7
  },
  "luminance": 0.38596
}

Semantic roles & 50–950 ramp

primary
#E97EF1
secondary
#D9F4D7
accent
#DD0917
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E97EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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