#E97AFD#E97AFD

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

Color values

HEX#E97AFD
RGBrgb(233, 122, 253)
HSLhsl(291, 97%, 74%)
HSVhsv(291, 52%, 99%)
CMYKcmyk(7.9%, 51.8%, 0%, 0.8%)
CIE-LABlab(68.27, 61.58, -47.31)
CIE-LCHlch(68.27, 77.66, 322.47°)
OKLaboklab(75.22% 0.1637 -0.131)
OKLCHoklch(75.22% 0.21 321.3)
XYZxyz(58.2914, 38.3371, 97.2388)
Luminance0.3834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97AFD #8EFD7A
analogous
#A77AFD #E97AFD #FD7ACF
triadic
#E97AFD #FDE97A #7AFDE9
tetradic
#E97AFD #FDA77A #8EFD7A #7ACFFD
square
#E97AFD #FDA77A #8EFD7A #7ACFFD
split-complementary
#E97AFD #CFFD7A #7AFDA7
monochromatic
#D304F9 #DF3EFC #E97AFD #F3B6FE #FAE1FF

Accessibility & contrast

On white

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

On black

8.67
#E97AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97AFD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97AFD#FFFFFF#000000##000000
##E97AFD1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#EB8CB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97afd;
/* rgb */ color: rgb(233, 122, 253);
/* oklch */ color: oklch(75.2% 0.210 321.3);
Tailwind
colors: {
  custom: {
    50: '#f2a4fe',
    500: '#e97afd',
    950: '#000000',
  },
}
SCSS
$custom: #e97afd;
$custom-light: #f2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e97afd",
  "rgb": {
    "r": 233,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 290.84,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7522,
    "c": 0.2097,
    "h": 321.3
  },
  "luminance": 0.38335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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