#E97FDB#E97FDB

#E97FDB is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.4% C 0.171 H 332.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#E97FDB
RGBrgb(233, 127, 219)
HSLhsl(308, 71%, 71%)
HSVhsv(308, 45%, 91%)
CMYKcmyk(0%, 45.5%, 6%, 8.6%)
CIE-LABlab(67.74, 53.12, -29.40)
CIE-LCHlch(67.74, 60.71, 331.04°)
OKLaboklab(74.35% 0.1515 -0.0798)
OKLCHoklch(74.35% 0.171 332.2)
XYZxyz(53.9795, 37.6200, 71.4223)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FDB #7FE98D
analogous
#C27FE9 #E97FDB #E97FA6
triadic
#E97FDB #DBE97F #7FDBE9
tetradic
#E97FDB #E9C27F #7FE98D #7FA6E9
square
#E97FDB #E9C27F #7FE98D #7FA6E9
split-complementary
#E97FDB #A6E97F #7FE9C2
monochromatic
#CB23B5 #E04BCC #E97FDB #F2B3EA #FBE5F8

Accessibility & contrast

On white

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

On black

8.52
#E97FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FDB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FDB#FFFFFF#000000##000000
##E97FDB1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e97fdb;
/* rgb */ color: rgb(233, 127, 219);
/* oklch */ color: oklch(74.4% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#f2a7e6',
    500: '#e97fdb',
    950: '#000000',
  },
}
SCSS
$custom: #e97fdb;
$custom-light: #f2a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fdb",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 307.925,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.17118,
    "h": 332.2
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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