#D971CD#D971CD

#D971CD is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.8% C 0.171 H 331.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#D971CD
RGBrgb(217, 113, 205)
HSLhsl(307, 58%, 65%)
HSVhsv(307, 48%, 85%)
CMYKcmyk(0%, 47.9%, 5.5%, 14.9%)
CIE-LABlab(62.48, 52.95, -29.85)
CIE-LCHlch(62.48, 60.79, 330.59°)
OKLaboklab(69.83% 0.1507 -0.0812)
OKLCHoklch(69.83% 0.171 331.7)
XYZxyz(45.5395, 30.9725, 61.3254)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971CD #71D97D
analogous
#B171D9 #D971CD #D97199
triadic
#D971CD #CDD971 #71CDD9
tetradic
#D971CD #D9B171 #71D97D #7199D9
square
#D971CD #D9B171 #71D97D #7199D9
split-complementary
#D971CD #99D971 #71D9B1
monochromatic
#A42C96 #CC41BC #D971CD #E6A1DE #F3D2EF

Accessibility & contrast

On white

2.92
#D971CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#D971CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971CD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971CD#FFFFFF#000000##000000
##D971CD1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#8B9CCA
Tritanopia (blue-blind)
#E17896
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d971cd;
/* rgb */ color: rgb(217, 113, 205);
/* oklch */ color: oklch(69.8% 0.171 331.7);
Tailwind
colors: {
  custom: {
    50: '#e79ddc',
    500: '#d971cd',
    950: '#000000',
  },
}
SCSS
$custom: #d971cd;
$custom-light: #e79ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d971cd",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 306.923,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69826,
    "c": 0.17121,
    "h": 331.7
  },
  "luminance": 0.3097
}

Semantic roles & 50–950 ramp

primary
#D971CD
secondary
#C1E5C5
accent
#C53320
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D971CD

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

Preview Lab → · Contrast checker → · Palette generator →

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