#E97CDC#E97CDC

#E97CDC is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.0% C 0.177 H 331.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#E97CDC
RGBrgb(233, 124, 220)
HSLhsl(307, 71%, 70%)
HSVhsv(307, 47%, 91%)
CMYKcmyk(0%, 46.8%, 5.6%, 8.6%)
CIE-LABlab(67.21, 54.76, -30.77)
CIE-LCHlch(67.21, 62.82, 330.67°)
OKLaboklab(73.97% 0.1559 -0.0836)
OKLCHoklch(73.97% 0.177 331.8)
XYZxyz(53.7298, 36.9094, 71.9905)
Luminance0.3691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97CDC #7CE989
analogous
#C07CE9 #E97CDC #E97CA5
triadic
#E97CDC #DCE97C #7CDCE9
tetradic
#E97CDC #E9C07C #7CE989 #7CA5E9
square
#E97CDC #E9C07C #7CE989 #7CA5E9
split-complementary
#E97CDC #A5E97C #7CE9C0
monochromatic
#C922B5 #E048CE #E97CDC #F2B0EA #FBE5F8

Accessibility & contrast

On white

2.51
#E97CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#E97CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97CDC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97CDC#FFFFFF#000000##000000
##E97CDC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#97A9D9
Tritanopia (blue-blind)
#F184A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e97cdc;
/* rgb */ color: rgb(233, 124, 220);
/* oklch */ color: oklch(74.0% 0.177 331.8);
Tailwind
colors: {
  custom: {
    50: '#f2a5e7',
    500: '#e97cdc',
    950: '#000000',
  },
}
SCSS
$custom: #e97cdc;
$custom-light: #f2a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e97cdc",
  "rgb": {
    "r": 233,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 307.156,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.73968,
    "c": 0.17692,
    "h": 331.8
  },
  "luminance": 0.36906
}

Semantic roles & 50–950 ramp

primary
#E97CDC
secondary
#D1F0D5
accent
#D32912
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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