#E97FE7#E97FE7

#E97FE7 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.9% C 0.182 H 327.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#E97FE7
RGBrgb(233, 127, 231)
HSLhsl(301, 71%, 71%)
HSVhsv(301, 45%, 91%)
CMYKcmyk(0%, 45.5%, 0.9%, 8.6%)
CIE-LABlab(68.22, 55.18, -35.29)
CIE-LCHlch(68.22, 65.50, 327.40°)
OKLaboklab(74.87% 0.1538 -0.0965)
OKLCHoklch(74.87% 0.182 327.9)
XYZxyz(55.6165, 38.2748, 80.0441)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FE7 #7FE981
analogous
#B67FE9 #E97FE7 #E97FB2
triadic
#E97FE7 #E7E97F #7FE7E9
tetradic
#E97FE7 #E9B67F #7FE981 #7FB2E9
square
#E97FE7 #E9B67F #7FE981 #7FB2E9
split-complementary
#E97FE7 #B2E97F #7FE9B6
monochromatic
#CB23C8 #E04BDD #E97FE7 #F2B3F1 #FBE5FA

Accessibility & contrast

On white

2.43
#E97FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#E97FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FE7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FE7#FFFFFF#000000##000000
##E97FE71.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779DEB
Deuteranopia (green-blind)
#95ABE4
Tritanopia (blue-blind)
#EF89A8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97fe7;
/* rgb */ color: rgb(233, 127, 231);
/* oklch */ color: oklch(74.9% 0.182 327.9);
Tailwind
colors: {
  custom: {
    50: '#f2a7ef',
    500: '#e97fe7',
    950: '#000000',
  },
}
SCSS
$custom: #e97fe7;
$custom-light: #f2a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fe7",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 301.132,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74869,
    "c": 0.1816,
    "h": 327.9
  },
  "luminance": 0.38272
}

Semantic roles & 50–950 ramp

primary
#E97FE7
secondary
#D4F0D4
accent
#D31613
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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