#E97FDF#E97FDF

#E97FDF is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.175 H 330.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#E97FDF
RGBrgb(233, 127, 223)
HSLhsl(306, 71%, 71%)
HSVhsv(306, 45%, 91%)
CMYKcmyk(0%, 45.5%, 4.3%, 8.6%)
CIE-LABlab(67.90, 53.79, -31.37)
CIE-LCHlch(67.90, 62.27, 329.75°)
OKLaboklab(74.52% 0.1523 -0.0854)
OKLCHoklch(74.52% 0.175 330.7)
XYZxyz(54.5124, 37.8332, 74.2290)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E97FDF #7FE989
analogous
#BE7FE9 #E97FDF #E97FAA
triadic
#E97FDF #DFE97F #7FDFE9
tetradic
#E97FDF #E9BE7F #7FE989 #7FAAE9
square
#E97FDF #E9BE7F #7FE989 #7FAAE9
split-complementary
#E97FDF #AAE97F #7FE9BE
monochromatic
#CB23BB #E04BD2 #E97FDF #F2B3EC #FBE5F8

Accessibility & contrast

On white

2.45
#E97FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#E97FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E97FDF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E97FDF#FFFFFF#000000##000000
##E97FDF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#98ABDC
Tritanopia (blue-blind)
#F087A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e97fdf;
/* rgb */ color: rgb(233, 127, 223);
/* oklch */ color: oklch(74.5% 0.175 330.7);
Tailwind
colors: {
  custom: {
    50: '#f2a7e9',
    500: '#e97fdf',
    950: '#000000',
  },
}
SCSS
$custom: #e97fdf;
$custom-light: #f2a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e97fdf",
  "rgb": {
    "r": 233,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 305.66,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7452,
    "c": 0.17458,
    "h": 330.7
  },
  "luminance": 0.3783
}

Semantic roles & 50–950 ramp

primary
#E97FDF
secondary
#D4F0D6
accent
#D32513
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E97FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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