#E97FE4#E97FE4

#E97FE4 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.179 H 328.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#E97FE4
RGBrgb(233, 127, 228)
HSLhsl(303, 71%, 71%)
HSVhsv(303, 45%, 91%)
CMYKcmyk(0%, 45.5%, 2.1%, 8.6%)
CIE-LABlab(68.10, 54.66, -33.83)
CIE-LCHlch(68.10, 64.28, 328.25°)
OKLaboklab(74.74% 0.1533 -0.0924)
OKLCHoklch(74.74% 0.179 328.9)
XYZxyz(55.1965, 38.1068, 77.8317)
Luminance0.3810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FE4 #7FE984
analogous
#B97FE9 #E97FE4 #E97FAF
triadic
#E97FE4 #E4E97F #7FE4E9
tetradic
#E97FE4 #E9B97F #7FE984 #7FAFE9
square
#E97FE4 #E9B97F #7FE984 #7FAFE9
split-complementary
#E97FE4 #AFE97F #7FE9B9
monochromatic
#CB23C3 #E04BD9 #E97FE4 #F2B3EF #FBE5F9

Accessibility & contrast

On white

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

On black

8.62
#E97FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FE4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FE4#FFFFFF#000000##000000
##E97FE41.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE7
Deuteranopia (green-blind)
#96ABE1
Tritanopia (blue-blind)
#F088A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97fe4;
/* rgb */ color: rgb(233, 127, 228);
/* oklch */ color: oklch(74.7% 0.179 328.9);
Tailwind
colors: {
  custom: {
    50: '#f2a7ec',
    500: '#e97fe4',
    950: '#000000',
  },
}
SCSS
$custom: #e97fe4;
$custom-light: #f2a7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fe4",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 302.83,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74737,
    "c": 0.17894,
    "h": 328.9
  },
  "luminance": 0.38104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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