#E97FDA#E97FDA

#E97FDA is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.3% C 0.170 H 332.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#E97FDA
RGBrgb(233, 127, 218)
HSLhsl(308, 71%, 71%)
HSVhsv(308, 45%, 91%)
CMYKcmyk(0%, 45.5%, 6.4%, 8.6%)
CIE-LABlab(67.70, 52.95, -28.90)
CIE-LCHlch(67.70, 60.32, 331.37°)
OKLaboklab(74.31% 0.1512 -0.0784)
OKLCHoklch(74.31% 0.17 332.6)
XYZxyz(53.8482, 37.5675, 70.7310)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FDA #7FE98E
analogous
#C37FE9 #E97FDA #E97FA5
triadic
#E97FDA #DAE97F #7FDAE9
tetradic
#E97FDA #E9C37F #7FE98E #7FA5E9
square
#E97FDA #E9C37F #7FE98E #7FA5E9
split-complementary
#E97FDA #A5E97F #7FE9C3
monochromatic
#CB23B3 #E04BCB #E97FDA #F2B3E9 #FBE5F7

Accessibility & contrast

On white

2.47
#E97FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#E97FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FDA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FDA#FFFFFF#000000##000000
##E97FDA1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDD
Deuteranopia (green-blind)
#9AAAD7
Tritanopia (blue-blind)
#F186A2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97fda;
/* rgb */ color: rgb(233, 127, 218);
/* oklch */ color: oklch(74.3% 0.170 332.6);
Tailwind
colors: {
  custom: {
    50: '#f2a7e5',
    500: '#e97fda',
    950: '#000000',
  },
}
SCSS
$custom: #e97fda;
$custom-light: #f2a7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fda",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 308.491,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74309,
    "c": 0.17034,
    "h": 332.6
  },
  "luminance": 0.37564
}

Semantic roles & 50–950 ramp

primary
#E97FDA
secondary
#D4F0D8
accent
#D32E13
background
#FFFAFE
surface
#FEF4FC
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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