#E97DFB#E97DFB

#E97DFB is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.5% C 0.203 H 321.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#E97DFB
RGBrgb(233, 125, 251)
HSLhsl(291, 94%, 74%)
HSVhsv(291, 50%, 98%)
CMYKcmyk(7.2%, 50.2%, 0%, 1.6%)
CIE-LABlab(68.72, 59.77, -45.50)
CIE-LCHlch(68.72, 75.12, 322.72°)
OKLaboklab(75.52% 0.1596 -0.1258)
OKLCHoklch(75.52% 0.203 321.7)
XYZxyz(58.3486, 38.9585, 95.6943)
Luminance0.3896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DFB #8FFB7D
analogous
#AA7DFB #E97DFB #FB7DCE
triadic
#E97DFB #FBE97D #7DFBE9
tetradic
#E97DFB #FBAA7D #8FFB7D #7DCEFB
square
#E97DFB #FBAA7D #8FFB7D #7DCEFB
split-complementary
#E97DFB #CEFB7D #7DFBAA
monochromatic
#D408F6 #DF42F9 #E97DFB #F3B8FD #FAE1FE

Accessibility & contrast

On white

2.39
#E97DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#E97DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DFB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DFB#FFFFFF#000000##000000
##E97DFB1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#8AACF7
Tritanopia (blue-blind)
#EC8EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #e97dfb;
/* rgb */ color: rgb(233, 125, 251);
/* oklch */ color: oklch(75.5% 0.203 321.7);
Tailwind
colors: {
  custom: {
    50: '#f2a6fd',
    500: '#e97dfb',
    950: '#000000',
  },
}
SCSS
$custom: #e97dfb;
$custom-light: #f2a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e97dfb",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 291.429,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75523,
    "c": 0.20321,
    "h": 321.7
  },
  "luminance": 0.38956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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