#E97AFB#E97AFB

#E97AFB is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.1% C 0.208 H 321.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#E97AFB
RGBrgb(233, 122, 251)
HSLhsl(292, 94%, 73%)
HSVhsv(292, 51%, 98%)
CMYKcmyk(7.2%, 51.4%, 0%, 1.6%)
CIE-LABlab(68.18, 61.21, -46.36)
CIE-LCHlch(68.18, 76.79, 322.86°)
OKLaboklab(75.12% 0.1635 -0.1283)
OKLCHoklch(75.12% 0.208 321.9)
XYZxyz(57.9745, 38.2103, 95.5696)
Luminance0.3821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97AFB #8CFB7A
analogous
#A87AFB #E97AFB #FB7ACC
triadic
#E97AFB #FBE97A #7AFBE9
tetradic
#E97AFB #FBA87A #8CFB7A #7ACCFB
square
#E97AFB #FBA87A #8CFB7A #7ACCFB
split-complementary
#E97AFB #CCFB7A #7AFBA8
monochromatic
#D207F3 #DF3FF9 #E97AFB #F3B5FD #FAE1FE

Accessibility & contrast

On white

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

On black

8.64
#E97AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97AFB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97AFB#FFFFFF#000000##000000
##E97AFB1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#88ABF7
Tritanopia (blue-blind)
#EC8BB0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97afb;
/* rgb */ color: rgb(233, 122, 251);
/* oklch */ color: oklch(75.1% 0.208 321.9);
Tailwind
colors: {
  custom: {
    50: '#f2a4fd',
    500: '#e97afb',
    950: '#000000',
  },
}
SCSS
$custom: #e97afb;
$custom-light: #f2a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e97afb",
  "rgb": {
    "r": 233,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 291.628,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75121,
    "c": 0.20782,
    "h": 321.9
  },
  "luminance": 0.38208
}

Semantic roles & 50–950 ramp

primary
#E97AFB
secondary
#D9F6D5
accent
#E60020
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E97AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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