#E97FDD#E97FDD

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

Color values

HEX#E97FDD
RGBrgb(233, 127, 221)
HSLhsl(307, 71%, 71%)
HSVhsv(307, 45%, 91%)
CMYKcmyk(0%, 45.5%, 5.2%, 8.6%)
CIE-LABlab(67.82, 53.45, -30.39)
CIE-LCHlch(67.82, 61.49, 330.38°)
OKLaboklab(74.44% 0.1519 -0.0826)
OKLCHoklch(74.44% 0.173 331.5)
XYZxyz(54.2444, 37.7260, 72.8173)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FDD #7FE98B
analogous
#C07FE9 #E97FDD #E97FA8
triadic
#E97FDD #DDE97F #7FDDE9
tetradic
#E97FDD #E9C07F #7FE98B #7FA8E9
square
#E97FDD #E9C07F #7FE98B #7FA8E9
split-complementary
#E97FDD #A8E97F #7FE9C0
monochromatic
#CB23B8 #E04BCF #E97FDD #F2B3EB #FBE5F8

Accessibility & contrast

On white

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

On black

8.54
#E97FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FDD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FDD#FFFFFF#000000##000000
##E97FDD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE0
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#F187A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97fdd;
/* rgb */ color: rgb(233, 127, 221);
/* oklch */ color: oklch(74.4% 0.173 331.5);
Tailwind
colors: {
  custom: {
    50: '#f2a7e7',
    500: '#e97fdd',
    950: '#000000',
  },
}
SCSS
$custom: #e97fdd;
$custom-light: #f2a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fdd",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 306.792,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74435,
    "c": 0.17287,
    "h": 331.5
  },
  "luminance": 0.37723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E97FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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