#E97DEC#E97DEC

#E97DEC is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.8% C 0.189 H 326.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E97DEC
RGBrgb(233, 125, 236)
HSLhsl(298, 74%, 71%)
HSVhsv(298, 47%, 93%)
CMYKcmyk(1.3%, 47%, 0%, 7.5%)
CIE-LABlab(68.06, 57.04, -38.31)
CIE-LCHlch(68.06, 68.71, 326.12°)
OKLaboklab(74.82% 0.1574 -0.1051)
OKLCHoklch(74.82% 0.189 326.3)
XYZxyz(56.0771, 38.0499, 83.7312)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97DEC #80EC7D
analogous
#B17DEC #E97DEC #EC7DB7
triadic
#E97DEC #ECE97D #7DECE9
tetradic
#E97DEC #ECB17D #80EC7D #7DB7EC
square
#E97DEC #ECB17D #80EC7D #7DB7EC
split-complementary
#E97DEC #B7EC7D #7DECB1
monochromatic
#CB1ED0 #E048E4 #E97DEC #F2B2F4 #FAE4FB

Accessibility & contrast

On white

2.44
#E97DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#E97DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97DEC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97DEC#FFFFFF#000000##000000
##E97DEC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#EE89AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e97dec;
/* rgb */ color: rgb(233, 125, 236);
/* oklch */ color: oklch(74.8% 0.189 326.3);
Tailwind
colors: {
  custom: {
    50: '#f2a6f2',
    500: '#e97dec',
    950: '#000000',
  },
}
SCSS
$custom: #e97dec;
$custom-light: #f2a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e97dec",
  "rgb": {
    "r": 233,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 298.378,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74815,
    "c": 0.18931,
    "h": 326.3
  },
  "luminance": 0.38047
}

Semantic roles & 50–950 ramp

primary
#E97DEC
secondary
#D4F1D3
accent
#D70F14
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E97DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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