#E97AFC#E97AFC

#E97AFC is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.2% C 0.209 H 321.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#E97AFC
RGBrgb(233, 122, 252)
HSLhsl(291, 96%, 73%)
HSVhsv(291, 52%, 99%)
CMYKcmyk(7.5%, 51.6%, 0%, 1.2%)
CIE-LABlab(68.22, 61.40, -46.84)
CIE-LCHlch(68.22, 77.22, 322.66°)
OKLaboklab(75.17% 0.1636 -0.1297)
OKLCHoklch(75.17% 0.209 321.6)
XYZxyz(58.1325, 38.2736, 96.4020)
Luminance0.3827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97AFC #8DFC7A
analogous
#A87AFC #E97AFC #FC7ACE
triadic
#E97AFC #FCE97A #7AFCE9
tetradic
#E97AFC #FCA87A #8DFC7A #7ACEFC
square
#E97AFC #FCA87A #8DFC7A #7ACEFC
split-complementary
#E97AFC #CEFC7A #7AFCA8
monochromatic
#D306F6 #DF3EFB #E97AFC #F3B6FD #FAE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E97AFC#FFFFFF#000000##000000
##E97AFC1.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)
#659EFF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#EB8CB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97afc;
/* rgb */ color: rgb(233, 122, 252);
/* oklch */ color: oklch(75.2% 0.209 321.6);
Tailwind
colors: {
  custom: {
    50: '#f2a4fe',
    500: '#e97afc',
    950: '#000000',
  },
}
SCSS
$custom: #e97afc;
$custom-light: #f2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e97afc",
  "rgb": {
    "r": 233,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 291.231,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7517,
    "c": 0.20876,
    "h": 321.6
  },
  "luminance": 0.38271
}

Semantic roles & 50–950 ramp

primary
#E97AFC
secondary
#D9F7D4
accent
#E60022
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E97AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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