#E97AFE#E97AFE

#E97AFE is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.3% C 0.211 H 321.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#E97AFE
RGBrgb(233, 122, 254)
HSLhsl(290, 99%, 74%)
HSVhsv(290, 52%, 100%)
CMYKcmyk(8.3%, 52%, 0%, 0.4%)
CIE-LABlab(68.32, 61.77, -47.78)
CIE-LCHlch(68.32, 78.09, 322.27°)
OKLaboklab(75.27% 0.1638 -0.1324)
OKLCHoklch(75.27% 0.211 321.1)
XYZxyz(58.4511, 38.4010, 98.0799)
Luminance0.3840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97AFE #8FFE7A
analogous
#A77AFE #E97AFE #FE7AD1
triadic
#E97AFE #FEE97A #7AFEE9
tetradic
#E97AFE #FEA77A #8FFE7A #7AD1FE
square
#E97AFE #FEA77A #8FFE7A #7AD1FE
split-complementary
#E97AFE #D1FE7A #7AFEA7
monochromatic
#D402FC #DF3DFE #E97AFE #F3B7FE #FAE1FF

Accessibility & contrast

On white

2.42
#E97AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#E97AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97AFE
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97AFE#FFFFFF#000000##000000
##E97AFE1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#EB8CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97afe;
/* rgb */ color: rgb(233, 122, 254);
/* oklch */ color: oklch(75.3% 0.211 321.1);
Tailwind
colors: {
  custom: {
    50: '#f3a4ff',
    500: '#e97afe',
    950: '#000000',
  },
}
SCSS
$custom: #e97afe;
$custom-light: #f3a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e97afe",
  "rgb": {
    "r": 233,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 290.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75269,
    "c": 0.21064,
    "h": 321.1
  },
  "luminance": 0.38398
}

Semantic roles & 50–950 ramp

primary
#E97AFE
secondary
#DAF7D4
accent
#E60025
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E97AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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