#D97FC8#D97FC8

#D97FC8 is a light, vivid pink. Relative luminance 0.341; OKLCH L 71.7% C 0.143 H 334.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D97FC8
RGBrgb(217, 127, 200)
HSLhsl(311, 54%, 67%)
HSVhsv(311, 41%, 85%)
CMYKcmyk(0%, 41.5%, 7.8%, 14.9%)
CIE-LABlab(65.04, 45.02, -23.10)
CIE-LCHlch(65.04, 50.60, 332.84°)
OKLaboklab(71.68% 0.1292 -0.0623)
OKLCHoklch(71.68% 0.143 334.3)
XYZxyz(46.6298, 34.1032, 58.7589)
Luminance0.3410 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FC8 #7FD990
analogous
#BD7FD9 #D97FC8 #D97F9B
triadic
#D97FC8 #C8D97F #7FC8D9
tetradic
#D97FC8 #D9BD7F #7FD990 #7F9BD9
square
#D97FC8 #D9BD7F #7FD990 #7F9BD9
split-complementary
#D97FC8 #9BD97F #7FD9BD
monochromatic
#AB3394 #CB50B4 #D97FC8 #E7AEDC #F5DDF1

Accessibility & contrast

On white

2.69
#D97FC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D97FC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FC8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FC8#FFFFFF#000000##000000
##D97FC81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CB
Deuteranopia (green-blind)
#96A3C5
Tritanopia (blue-blind)
#E1839B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97fc8;
/* rgb */ color: rgb(217, 127, 200);
/* oklch */ color: oklch(71.7% 0.143 334.3);
Tailwind
colors: {
  custom: {
    50: '#e6a6d8',
    500: '#d97fc8',
    950: '#000000',
  },
}
SCSS
$custom: #d97fc8;
$custom-light: #e6a6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fc8",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 311.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71676,
    "c": 0.14346,
    "h": 334.3
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#D97FC8
secondary
#CCE8D1
accent
#C24224
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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