#D971FC#D971FC

#D971FC is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.1% C 0.215 H 316.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D971FC
RGBrgb(217, 113, 252)
HSLhsl(285, 96%, 72%)
HSVhsv(285, 55%, 99%)
CMYKcmyk(13.9%, 55.2%, 0%, 1.2%)
CIE-LABlab(64.64, 61.60, -52.63)
CIE-LCHlch(64.64, 81.02, 319.49°)
OKLaboklab(72.12% 0.1568 -0.1468)
OKLCHoklch(72.12% 0.215 316.9)
XYZxyz(52.0885, 33.5921, 95.8167)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971FC #94FC71
analogous
#9471FC #D971FC #FC71DA
triadic
#D971FC #FCD971 #71FCD9
tetradic
#D971FC #FC9471 #94FC71 #71DAFC
square
#D971FC #FC9471 #94FC71 #71DAFC
split-complementary
#D971FC #DAFC71 #71FC94
monochromatic
#B305EE #C935FB #D971FC #E9ADFD #F7E1FE

Accessibility & contrast

On white

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

On black

7.72
#D971FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971FC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971FC#FFFFFF#000000##000000
##D971FC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#D887AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d971fc;
/* rgb */ color: rgb(217, 113, 252);
/* oklch */ color: oklch(72.1% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#e89efe',
    500: '#d971fc',
    950: '#000000',
  },
}
SCSS
$custom: #d971fc;
$custom-light: #e89efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d971fc",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 284.892,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72118,
    "c": 0.21481,
    "h": 316.9
  },
  "luminance": 0.3359
}

Semantic roles & 50–950 ramp

primary
#D971FC
secondary
#DCF6D3
accent
#E6003A
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D971FC

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

Preview Lab → · Contrast checker → · Palette generator →

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