#E97FEC#E97FEC

#E97FEC is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.186 H 326.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#E97FEC
RGBrgb(233, 127, 236)
HSLhsl(298, 74%, 71%)
HSVhsv(298, 46%, 93%)
CMYKcmyk(1.3%, 46.2%, 0%, 7.5%)
CIE-LABlab(68.43, 56.06, -37.72)
CIE-LCHlch(68.43, 67.57, 326.06°)
OKLaboklab(75.09% 0.1547 -0.1035)
OKLCHoklch(75.09% 0.186 326.2)
XYZxyz(56.3328, 38.5613, 83.8165)
Luminance0.3856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FEC #82EC7F
analogous
#B27FEC #E97FEC #EC7FB8
triadic
#E97FEC #ECE97F #7FECE9
tetradic
#E97FEC #ECB27F #82EC7F #7FB8EC
square
#E97FEC #ECB27F #82EC7F #7FB8EC
split-complementary
#E97FEC #B8EC7F #7FECB2
monochromatic
#CD1FD2 #E04AE4 #E97FEC #F2B4F4 #FAE4FB

Accessibility & contrast

On white

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

On black

8.71
#E97FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FEC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FEC#FFFFFF#000000##000000
##E97FEC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#EE8BAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97fec;
/* rgb */ color: rgb(233, 127, 236);
/* oklch */ color: oklch(75.1% 0.186 326.2);
Tailwind
colors: {
  custom: {
    50: '#f2a7f2',
    500: '#e97fec',
    950: '#000000',
  },
}
SCSS
$custom: #e97fec;
$custom-light: #f2a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fec",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 298.349,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75093,
    "c": 0.18611,
    "h": 326.2
  },
  "luminance": 0.38559
}

Semantic roles & 50–950 ramp

primary
#E97FEC
secondary
#D6F2D5
accent
#D60F15
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E97FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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