#E97CFB#E97CFB

#E97CFB is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.4% C 0.205 H 321.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#E97CFB
RGBrgb(233, 124, 251)
HSLhsl(291, 94%, 74%)
HSVhsv(291, 51%, 98%)
CMYKcmyk(7.2%, 50.6%, 0%, 1.6%)
CIE-LABlab(68.54, 60.25, -45.79)
CIE-LCHlch(68.54, 75.68, 322.76°)
OKLaboklab(75.39% 0.1609 -0.1267)
OKLCHoklch(75.39% 0.205 321.8)
XYZxyz(58.2226, 38.7065, 95.6523)
Luminance0.3870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97CFB #8EFB7C
analogous
#A97CFB #E97CFB #FB7CCD
triadic
#E97CFB #FBE97C #7CFBE9
tetradic
#E97CFB #FBA97C #8EFB7C #7CCDFB
square
#E97CFB #FBA97C #8EFB7C #7CCDFB
split-complementary
#E97CFB #CDFB7C #7CFBA9
monochromatic
#D307F5 #DF41F9 #E97CFB #F3B7FD #FAE1FE

Accessibility & contrast

On white

2.40
#E97CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#E97CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97CFB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97CFB#FFFFFF#000000##000000
##E97CFB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#EC8DB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e97cfb;
/* rgb */ color: rgb(233, 124, 251);
/* oklch */ color: oklch(75.4% 0.205 321.8);
Tailwind
colors: {
  custom: {
    50: '#f2a6fd',
    500: '#e97cfb',
    950: '#000000',
  },
}
SCSS
$custom: #e97cfb;
$custom-light: #f2a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e97cfb",
  "rgb": {
    "r": 233,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 291.496,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75388,
    "c": 0.20476,
    "h": 321.8
  },
  "luminance": 0.38704
}

Semantic roles & 50–950 ramp

primary
#E97CFB
secondary
#D9F6D5
accent
#E60021
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E97CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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