#D97CD9#D97CD9

#D97CD9 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.164 H 327.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D97CD9
RGBrgb(217, 124, 217)
HSLhsl(300, 55%, 67%)
HSVhsv(300, 43%, 85%)
CMYKcmyk(0%, 42.9%, 0%, 14.9%)
CIE-LABlab(65.10, 49.54, -32.52)
CIE-LCHlch(65.10, 59.26, 326.72°)
OKLaboklab(71.94% 0.1375 -0.0889)
OKLCHoklch(71.94% 0.164 327.1)
XYZxyz(48.3464, 34.1791, 69.6828)
Luminance0.3418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD9 #7CD97C
analogous
#AB7CD9 #D97CD9 #D97CAB
triadic
#D97CD9 #D9D97C #7CD9D9
tetradic
#D97CD9 #D9AB7C #7CD97C #7CABD9
square
#D97CD9 #D9AB7C #7CD97C #7CABD9
split-complementary
#D97CD9 #ABD97C #7CD9AB
monochromatic
#A931A9 #CB4DCB #D97CD9 #E7ABE7 #F5DBF5

Accessibility & contrast

On white

2.68
#D97CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D97CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD9#FFFFFF#000000##000000
##D97CD91.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DC
Deuteranopia (green-blind)
#8EA2D6
Tritanopia (blue-blind)
#DE85A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cd9;
/* rgb */ color: rgb(217, 124, 217);
/* oklch */ color: oklch(71.9% 0.164 327.1);
Tailwind
colors: {
  custom: {
    50: '#e6a4e5',
    500: '#d97cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd9;
$custom-light: #e6a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd9",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.16369,
    "h": 327.1
  },
  "luminance": 0.34177
}

Semantic roles & 50–950 ramp

primary
#D97CD9
secondary
#CAE7CA
accent
#C32323
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F15
muted
#847F84

Preview Lab

Preview with #D97CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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