#D97CCD#D97CCD

#D97CCD is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.153 H 331.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D97CCD
RGBrgb(217, 124, 205)
HSLhsl(308, 55%, 67%)
HSVhsv(308, 43%, 85%)
CMYKcmyk(0%, 42.9%, 5.5%, 14.9%)
CIE-LABlab(64.63, 47.42, -26.55)
CIE-LCHlch(64.63, 54.34, 330.76°)
OKLaboklab(71.42% 0.1349 -0.072)
OKLCHoklch(71.42% 0.153 331.9)
XYZxyz(46.8420, 33.5774, 61.7596)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CCD #7CD988
analogous
#B77CD9 #D97CCD #D97C9F
triadic
#D97CCD #CDD97C #7CCDD9
tetradic
#D97CCD #D9B77C #7CD988 #7C9FD9
square
#D97CCD #D9B77C #7CD988 #7C9FD9
split-complementary
#D97CCD #9FD97C #7CD9B7
monochromatic
#A9319A #CB4DBB #D97CCD #E7ABDF #F5DBF1

Accessibility & contrast

On white

2.72
#D97CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D97CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CCD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CCD#FFFFFF#000000##000000
##D97CCD1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D0
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#E0829B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97ccd;
/* rgb */ color: rgb(217, 124, 205);
/* oklch */ color: oklch(71.4% 0.153 331.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4dc',
    500: '#d97ccd',
    950: '#000000',
  },
}
SCSS
$custom: #d97ccd;
$custom-light: #e6a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ccd",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 307.742,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.15287,
    "h": 331.9
  },
  "luminance": 0.33575
}

Semantic roles & 50–950 ramp

primary
#D97CCD
secondary
#CAE7CD
accent
#C33823
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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