#D97CD6#D97CD6

#D97CD6 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.161 H 328.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D97CD6
RGBrgb(217, 124, 214)
HSLhsl(302, 55%, 67%)
HSVhsv(302, 43%, 85%)
CMYKcmyk(0%, 42.9%, 1.4%, 14.9%)
CIE-LABlab(64.98, 49.00, -31.03)
CIE-LCHlch(64.98, 58.00, 327.65°)
OKLaboklab(71.81% 0.1368 -0.0847)
OKLCHoklch(71.81% 0.161 328.3)
XYZxyz(47.9598, 34.0245, 67.6465)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD6 #7CD97F
analogous
#AD7CD9 #D97CD6 #D97CA8
triadic
#D97CD6 #D6D97C #7CD6D9
tetradic
#D97CD6 #D9AD7C #7CD97F #7CA8D9
square
#D97CD6 #D9AD7C #7CD97F #7CA8D9
split-complementary
#D97CD6 #A8D97C #7CD9AD
monochromatic
#A931A6 #CB4DC7 #D97CD6 #E7ABE5 #F5DBF4

Accessibility & contrast

On white

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

On black

7.80
#D97CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD6
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD6#FFFFFF#000000##000000
##D97CD61.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696D9
Deuteranopia (green-blind)
#8FA2D3
Tritanopia (blue-blind)
#DF849F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cd6;
/* rgb */ color: rgb(217, 124, 214);
/* oklch */ color: oklch(71.8% 0.161 328.3);
Tailwind
colors: {
  custom: {
    50: '#e6a4e3',
    500: '#d97cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd6;
$custom-light: #e6a4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd6",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 301.935,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71807,
    "c": 0.16091,
    "h": 328.3
  },
  "luminance": 0.34022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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