#D97DCD#D97DCD

#D97DCD is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.151 H 331.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D97DCD
RGBrgb(217, 125, 205)
HSLhsl(308, 55%, 67%)
HSVhsv(308, 42%, 85%)
CMYKcmyk(0%, 42.4%, 5.5%, 14.9%)
CIE-LABlab(64.83, 46.91, -26.24)
CIE-LCHlch(64.83, 53.75, 330.78°)
OKLaboklab(71.57% 0.1334 -0.0711)
OKLCHoklch(71.57% 0.151 331.9)
XYZxyz(46.9679, 33.8293, 61.8015)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DCD #7DD989
analogous
#B77DD9 #D97DCD #D97D9F
triadic
#D97DCD #CDD97D #7DCDD9
tetradic
#D97DCD #D9B77D #7DD989 #7D9FD9
square
#D97DCD #D9B77D #7DD989 #7D9FD9
split-complementary
#D97DCD #9FD97D #7DD9B7
monochromatic
#AA329A #CB4EBB #D97DCD #E7ACDF #F5DCF1

Accessibility & contrast

On white

2.70
#D97DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#D97DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DCD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DCD#FFFFFF#000000##000000
##D97DCD1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#93A2CA
Tritanopia (blue-blind)
#E0839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97dcd;
/* rgb */ color: rgb(217, 125, 205);
/* oklch */ color: oklch(71.6% 0.151 331.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5dc',
    500: '#d97dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d97dcd;
$custom-light: #e6a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dcd",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 307.826,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.15117,
    "h": 331.9
  },
  "luminance": 0.33827
}

Semantic roles & 50–950 ramp

primary
#D97DCD
secondary
#CAE8CE
accent
#C23823
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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