#D97CD7#D97CD7

#D97CD7 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.162 H 327.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D97CD7
RGBrgb(217, 124, 215)
HSLhsl(301, 55%, 67%)
HSVhsv(301, 43%, 85%)
CMYKcmyk(0%, 42.9%, 0.9%, 14.9%)
CIE-LABlab(65.02, 49.18, -31.53)
CIE-LCHlch(65.02, 58.42, 327.34°)
OKLaboklab(71.85% 0.1371 -0.0861)
OKLCHoklch(71.85% 0.162 327.9)
XYZxyz(48.0878, 34.0757, 68.3211)
Luminance0.3407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD7 #7CD97E
analogous
#AD7CD9 #D97CD7 #D97CA9
triadic
#D97CD7 #D7D97C #7CD7D9
tetradic
#D97CD7 #D9AD7C #7CD97E #7CA9D9
square
#D97CD7 #D9AD7C #7CD97E #7CA9D9
split-complementary
#D97CD7 #A9D97C #7CD9AD
monochromatic
#A931A7 #CB4DC9 #D97CD7 #E7ABE5 #F5DBF4

Accessibility & contrast

On white

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

On black

7.81
#D97CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD7#FFFFFF#000000##000000
##D97CD71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DA
Deuteranopia (green-blind)
#8FA2D4
Tritanopia (blue-blind)
#DF85A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cd7;
/* rgb */ color: rgb(217, 124, 215);
/* oklch */ color: oklch(71.9% 0.162 327.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4e3',
    500: '#d97cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd7;
$custom-light: #e6a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd7",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 301.29,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.16184,
    "h": 327.9
  },
  "luminance": 0.34073
}

Semantic roles & 50–950 ramp

primary
#D97CD7
secondary
#CAE7CA
accent
#C32623
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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