#E97FDC#E97FDC

#E97FDC is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.4% C 0.172 H 331.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#E97FDC
RGBrgb(233, 127, 220)
HSLhsl(307, 71%, 71%)
HSVhsv(307, 45%, 91%)
CMYKcmyk(0%, 45.5%, 5.6%, 8.6%)
CIE-LABlab(67.78, 53.29, -29.89)
CIE-LCHlch(67.78, 61.10, 330.71°)
OKLaboklab(74.39% 0.1517 -0.0812)
OKLCHoklch(74.39% 0.172 331.8)
XYZxyz(54.1115, 37.6728, 72.1177)
Luminance0.3767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FDC #7FE98C
analogous
#C17FE9 #E97FDC #E97FA7
triadic
#E97FDC #DCE97F #7FDCE9
tetradic
#E97FDC #E9C17F #7FE98C #7FA7E9
square
#E97FDC #E9C17F #7FE98C #7FA7E9
split-complementary
#E97FDC #A7E97F #7FE9C1
monochromatic
#CB23B6 #E04BCE #E97FDC #F2B3EA #FBE5F8

Accessibility & contrast

On white

2.46
#E97FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#E97FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FDC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FDC#FFFFFF#000000##000000
##E97FDC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#99ABD9
Tritanopia (blue-blind)
#F186A3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97fdc;
/* rgb */ color: rgb(233, 127, 220);
/* oklch */ color: oklch(74.4% 0.172 331.8);
Tailwind
colors: {
  custom: {
    50: '#f2a7e7',
    500: '#e97fdc',
    950: '#000000',
  },
}
SCSS
$custom: #e97fdc;
$custom-light: #f2a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fdc",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 307.358,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.17202,
    "h": 331.8
  },
  "luminance": 0.3767
}

Semantic roles & 50–950 ramp

primary
#E97FDC
secondary
#D4F0D7
accent
#D32A13
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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