#D971CB#D971CB

#D971CB is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.7% C 0.170 H 332.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D971CB
RGBrgb(217, 113, 203)
HSLhsl(308, 58%, 65%)
HSVhsv(308, 48%, 85%)
CMYKcmyk(0%, 47.9%, 6.5%, 14.9%)
CIE-LABlab(62.40, 52.62, -28.85)
CIE-LCHlch(62.40, 60.01, 331.27°)
OKLaboklab(69.74% 0.1503 -0.0784)
OKLCHoklch(69.74% 0.17 332.5)
XYZxyz(45.2997, 30.8765, 60.0621)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971CB #71D97F
analogous
#B371D9 #D971CB #D97197
triadic
#D971CB #CBD971 #71CBD9
tetradic
#D971CB #D9B371 #71D97F #7197D9
square
#D971CB #D9B371 #71D97F #7197D9
split-complementary
#D971CB #97D971 #71D9B3
monochromatic
#A42C94 #CC41B9 #D971CB #E6A1DD #F3D2EE

Accessibility & contrast

On white

2.93
#D971CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D971CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971CB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971CB#FFFFFF#000000##000000
##D971CB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECE
Deuteranopia (green-blind)
#8C9CC8
Tritanopia (blue-blind)
#E17895
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d971cb;
/* rgb */ color: rgb(217, 113, 203);
/* oklch */ color: oklch(69.7% 0.170 332.5);
Tailwind
colors: {
  custom: {
    50: '#e79ddb',
    500: '#d971cb',
    950: '#000000',
  },
}
SCSS
$custom: #d971cb;
$custom-light: #e79ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d971cb",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 308.077,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.16952,
    "h": 332.5
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#D971CB
secondary
#C1E5C6
accent
#C53620
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D971CB

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

Preview Lab → · Contrast checker → · Palette generator →

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