#D971FA#D971FA

#D971FA is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.0% C 0.213 H 317.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D971FA
RGBrgb(217, 113, 250)
HSLhsl(286, 93%, 71%)
HSVhsv(286, 55%, 98%)
CMYKcmyk(13.2%, 54.8%, 0%, 2%)
CIE-LABlab(64.54, 61.20, -51.69)
CIE-LCHlch(64.54, 80.11, 319.82°)
OKLaboklab(72.01% 0.1567 -0.144)
OKLCHoklch(72.01% 0.213 317.4)
XYZxyz(51.7733, 33.4660, 94.1563)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971FA #92FA71
analogous
#9471FA #D971FA #FA71D7
triadic
#D971FA #FAD971 #71FAD9
tetradic
#D971FA #FA9471 #92FA71 #71D7FA
square
#D971FA #FA9471 #92FA71 #71D7FA
split-complementary
#D971FA #D7FA71 #71FA94
monochromatic
#B208E8 #C936F8 #D971FA #E9ACFC #F7E1FE

Accessibility & contrast

On white

2.73
#D971FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D971FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971FA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971FA#FFFFFF#000000##000000
##D971FA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#D887AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d971fa;
/* rgb */ color: rgb(217, 113, 250);
/* oklch */ color: oklch(72.0% 0.213 317.4);
Tailwind
colors: {
  custom: {
    50: '#e79efc',
    500: '#d971fa',
    950: '#000000',
  },
}
SCSS
$custom: #d971fa;
$custom-light: #e79efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d971fa",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 285.547,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72011,
    "c": 0.21285,
    "h": 317.4
  },
  "luminance": 0.33464
}

Semantic roles & 50–950 ramp

primary
#D971FA
secondary
#DAF5D1
accent
#E60037
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D971FA

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

Preview Lab → · Contrast checker → · Palette generator →

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