#D971DC#D971DC

#D971DC is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.5% C 0.184 H 326.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D971DC
RGBrgb(217, 113, 220)
HSLhsl(298, 60%, 65%)
HSVhsv(298, 49%, 86%)
CMYKcmyk(1.4%, 48.6%, 0%, 13.7%)
CIE-LABlab(63.12, 55.57, -37.28)
CIE-LCHlch(63.12, 66.92, 326.15°)
OKLaboklab(70.51% 0.1534 -0.1024)
OKLCHoklch(70.51% 0.184 326.3)
XYZxyz(47.4377, 31.7318, 71.3224)
Luminance0.3173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971DC #74DC71
analogous
#A471DC #D971DC #DC71A9
triadic
#D971DC #DCD971 #71DCD9
tetradic
#D971DC #DCA471 #74DC71 #71A9DC
square
#D971DC #DCA471 #74DC71 #71A9DC
split-complementary
#D971DC #A9DC71 #71DCA4
monochromatic
#A52AA9 #CC40D0 #D971DC #E6A2E8 #F3D3F4

Accessibility & contrast

On white

2.86
#D971DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D971DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971DC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971DC#FFFFFF#000000##000000
##D971DC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690E0
Deuteranopia (green-blind)
#859DD9
Tritanopia (blue-blind)
#DE7D9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d971dc;
/* rgb */ color: rgb(217, 113, 220);
/* oklch */ color: oklch(70.5% 0.184 326.3);
Tailwind
colors: {
  custom: {
    50: '#e79de7',
    500: '#d971dc',
    950: '#000000',
  },
}
SCSS
$custom: #d971dc;
$custom-light: #e79de7;
$custom-dark: #000000;
JSON
{
  "hex": "#d971dc",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 298.318,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70506,
    "c": 0.18442,
    "h": 326.3
  },
  "luminance": 0.31729
}

Semantic roles & 50–950 ramp

primary
#D971DC
secondary
#C3E6C2
accent
#C81D22
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D971DC

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

Preview Lab → · Contrast checker → · Palette generator →

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