#D971FD#D971FD

#D971FD is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.2% C 0.216 H 316.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D971FD
RGBrgb(217, 113, 253)
HSLhsl(285, 97%, 72%)
HSVhsv(285, 55%, 99%)
CMYKcmyk(14.2%, 55.3%, 0%, 0.8%)
CIE-LABlab(64.69, 61.79, -53.10)
CIE-LCHlch(64.69, 81.47, 319.33°)
OKLaboklab(72.17% 0.1569 -0.1481)
OKLCHoklch(72.17% 0.216 316.6)
XYZxyz(52.2474, 33.6556, 96.6534)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971FD #95FD71
analogous
#9371FD #D971FD #FD71DB
triadic
#D971FD #FDD971 #71FDD9
tetradic
#D971FD #FD9371 #95FD71 #71DBFD
square
#D971FD #FD9371 #95FD71 #71DBFD
split-complementary
#D971FD #DBFD71 #71FD93
monochromatic
#B303F0 #C935FC #D971FD #E9ADFE #F7E1FF

Accessibility & contrast

On white

2.72
#D971FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D971FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971FD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971FD#FFFFFF#000000##000000
##D971FD1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#D788AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d971fd;
/* rgb */ color: rgb(217, 113, 253);
/* oklch */ color: oklch(72.2% 0.216 316.6);
Tailwind
colors: {
  custom: {
    50: '#e89efe',
    500: '#d971fd',
    950: '#000000',
  },
}
SCSS
$custom: #d971fd;
$custom-light: #e89efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d971fd",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 284.571,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.21578,
    "h": 316.6
  },
  "luminance": 0.33654
}

Semantic roles & 50–950 ramp

primary
#D971FD
secondary
#DCF7D3
accent
#E6003B
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D971FD

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

Preview Lab → · Contrast checker → · Palette generator →

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