#D971FE#D971FE

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

Color values

HEX#D971FE
RGBrgb(217, 113, 254)
HSLhsl(284, 99%, 72%)
HSVhsv(284, 56%, 100%)
CMYKcmyk(14.6%, 55.5%, 0%, 0.4%)
CIE-LABlab(64.74, 61.99, -53.56)
CIE-LCHlch(64.74, 81.92, 319.17°)
OKLaboklab(72.22% 0.157 -0.1495)
OKLCHoklch(72.22% 0.217 316.4)
XYZxyz(52.4071, 33.7195, 97.4946)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971FE #96FE71
analogous
#9371FE #D971FE #FE71DD
triadic
#D971FE #FED971 #71FED9
tetradic
#D971FE #FE9371 #96FE71 #71DDFE
square
#D971FE #FE9371 #96FE71 #71DDFE
split-complementary
#D971FE #DDFE71 #71FE93
monochromatic
#B402F3 #C934FE #D971FE #E9AEFE #F7E1FF

Accessibility & contrast

On white

2.71
#D971FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D971FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971FE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971FE#FFFFFF#000000##000000
##D971FE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#D788AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d971fe;
/* rgb */ color: rgb(217, 113, 254);
/* oklch */ color: oklch(72.2% 0.217 316.4);
Tailwind
colors: {
  custom: {
    50: '#e89eff',
    500: '#d971fe',
    950: '#000000',
  },
}
SCSS
$custom: #d971fe;
$custom-light: #e89eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d971fe",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 284.255,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72225,
    "c": 0.21676,
    "h": 316.4
  },
  "luminance": 0.33718
}

Semantic roles & 50–950 ramp

primary
#D971FE
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D971FE

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

Preview Lab → · Contrast checker → · Palette generator →

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