#E97EF2#E97EF2

#E97EF2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.193 H 324.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#E97EF2
RGBrgb(233, 126, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 48%, 95%)
CMYKcmyk(3.7%, 47.9%, 0%, 5.1%)
CIE-LABlab(68.50, 57.63, -40.91)
CIE-LCHlch(68.50, 70.68, 324.63°)
OKLaboklab(75.23% 0.157 -0.1126)
OKLCHoklch(75.23% 0.193 324.3)
XYZxyz(57.0907, 38.6589, 88.4419)
Luminance0.3866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97EF2 #87F27E
analogous
#AF7EF2 #E97EF2 #F27EC1
triadic
#E97EF2 #F2E97E #7EF2E9
tetradic
#E97EF2 #F2AF7E #87F27E #7EC1F2
square
#E97EF2 #F2AF7E #87F27E #7EC1F2
split-complementary
#E97EF2 #C1F27E #7EF2AF
monochromatic
#D016DF #E046EC #E97EF2 #F2B6F8 #FAE3FC

Accessibility & contrast

On white

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

On black

8.73
#E97EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97EF2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97EF2#FFFFFF#000000##000000
##E97EF21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#ED8CAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97ef2;
/* rgb */ color: rgb(233, 126, 242);
/* oklch */ color: oklch(75.2% 0.193 324.3);
Tailwind
colors: {
  custom: {
    50: '#f2a7f6',
    500: '#e97ef2',
    950: '#000000',
  },
}
SCSS
$custom: #e97ef2;
$custom-light: #f2a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ef2",
  "rgb": {
    "r": 233,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 295.345,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75231,
    "c": 0.19322,
    "h": 324.3
  },
  "luminance": 0.38656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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