#D97CDF#D97CDF

#D97CDF is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.169 H 324.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D97CDF
RGBrgb(217, 124, 223)
HSLhsl(296, 61%, 68%)
HSVhsv(296, 44%, 87%)
CMYKcmyk(2.7%, 44.4%, 0%, 12.5%)
CIE-LABlab(65.36, 50.63, -35.47)
CIE-LCHlch(65.36, 61.82, 324.99°)
OKLaboklab(72.21% 0.1386 -0.0973)
OKLCHoklch(72.21% 0.169 324.9)
XYZxyz(49.1410, 34.4970, 73.8678)
Luminance0.3449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CDF #82DF7C
analogous
#A87CDF #D97CDF #DF7CB3
triadic
#D97CDF #DFD97C #7CDFD9
tetradic
#D97CDF #DFA87C #82DF7C #7CB3DF
square
#D97CDF #DFA87C #82DF7C #7CB3DF
split-complementary
#D97CDF #B3DF7C #7CDFA8
monochromatic
#AC2CB5 #CB4BD3 #D97CDF #E7ADEB #F6DEF7

Accessibility & contrast

On white

2.66
#D97CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D97CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CDF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CDF#FFFFFF#000000##000000
##D97CDF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#8BA3DC
Tritanopia (blue-blind)
#DD87A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97cdf;
/* rgb */ color: rgb(217, 124, 223);
/* oklch */ color: oklch(72.2% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4e9',
    500: '#d97cdf',
    950: '#000000',
  },
}
SCSS
$custom: #d97cdf;
$custom-light: #e6a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cdf",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 296.364,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.16933,
    "h": 324.9
  },
  "luminance": 0.34495
}

Semantic roles & 50–950 ramp

primary
#D97CDF
secondary
#CEEBCC
accent
#C81D27
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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