#E97FF2#E97FF2

#E97FF2 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.4% C 0.192 H 324.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#E97FF2
RGBrgb(233, 127, 242)
HSLhsl(295, 82%, 72%)
HSVhsv(295, 48%, 95%)
CMYKcmyk(3.7%, 47.5%, 0%, 5.1%)
CIE-LABlab(68.69, 57.14, -40.62)
CIE-LCHlch(68.69, 70.11, 324.59°)
OKLaboklab(75.37% 0.1557 -0.1118)
OKLCHoklch(75.37% 0.192 324.3)
XYZxyz(57.2192, 38.9159, 88.4847)
Luminance0.3891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FF2 #88F27F
analogous
#AF7FF2 #E97FF2 #F27FC2
triadic
#E97FF2 #F2E97F #7FF2E9
tetradic
#E97FF2 #F2AF7F #88F27F #7FC2F2
square
#E97FF2 #F2AF7F #88F27F #7FC2F2
split-complementary
#E97FF2 #C2F27F #7FF2AF
monochromatic
#D017E0 #DF47EC #E97FF2 #F3B7F8 #FAE3FC

Accessibility & contrast

On white

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

On black

8.78
#E97FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FF2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FF2#FFFFFF#000000##000000
##E97FF21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#ED8DAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e97ff2;
/* rgb */ color: rgb(233, 127, 242);
/* oklch */ color: oklch(75.4% 0.192 324.3);
Tailwind
colors: {
  custom: {
    50: '#f2a7f6',
    500: '#e97ff2',
    950: '#000000',
  },
}
SCSS
$custom: #e97ff2;
$custom-light: #f2a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e97ff2",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 295.304,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75369,
    "c": 0.19163,
    "h": 324.3
  },
  "luminance": 0.38913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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