#E97FE2#E97FE2

#E97FE2 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.6% C 0.177 H 329.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#E97FE2
RGBrgb(233, 127, 226)
HSLhsl(304, 71%, 71%)
HSVhsv(304, 45%, 91%)
CMYKcmyk(0%, 45.5%, 3%, 8.6%)
CIE-LABlab(68.02, 54.31, -32.85)
CIE-LCHlch(68.02, 63.47, 328.83°)
OKLaboklab(74.65% 0.1529 -0.0896)
OKLCHoklch(74.65% 0.177 329.6)
XYZxyz(54.9204, 37.9964, 76.3780)
Luminance0.3799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FE2 #7FE986
analogous
#BB7FE9 #E97FE2 #E97FAD
triadic
#E97FE2 #E2E97F #7FE2E9
tetradic
#E97FE2 #E9BB7F #7FE986 #7FADE9
square
#E97FE2 #E9BB7F #7FE986 #7FADE9
split-complementary
#E97FE2 #ADE97F #7FE9BB
monochromatic
#CB23C0 #E04BD6 #E97FE2 #F2B3EE #FBE5F9

Accessibility & contrast

On white

2.44
#E97FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#E97FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FE2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FE2#FFFFFF#000000##000000
##E97FE21.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F088A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97fe2;
/* rgb */ color: rgb(233, 127, 226);
/* oklch */ color: oklch(74.6% 0.177 329.6);
Tailwind
colors: {
  custom: {
    50: '#f2a7eb',
    500: '#e97fe2',
    950: '#000000',
  },
}
SCSS
$custom: #e97fe2;
$custom-light: #f2a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fe2",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 303.962,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74649,
    "c": 0.17719,
    "h": 329.6
  },
  "luminance": 0.37993
}

Semantic roles & 50–950 ramp

primary
#E97FE2
secondary
#D4F0D5
accent
#D31F13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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