#D871FA#D871FA

#D871FA is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.9% C 0.212 H 317.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D871FA
RGBrgb(216, 113, 250)
HSLhsl(285, 93%, 71%)
HSVhsv(285, 55%, 98%)
CMYKcmyk(13.6%, 54.8%, 0%, 2%)
CIE-LABlab(64.41, 60.95, -51.89)
CIE-LCHlch(64.41, 80.05, 319.59°)
OKLaboklab(71.89% 0.1555 -0.1447)
OKLCHoklch(71.89% 0.212 317.1)
XYZxyz(51.4769, 33.3131, 94.1424)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871FA #93FA71
analogous
#9371FA #D871FA #FA71D8
triadic
#D871FA #FAD871 #71FAD8
tetradic
#D871FA #FA9371 #93FA71 #71D8FA
square
#D871FA #FA9371 #93FA71 #71D8FA
split-complementary
#D871FA #D8FA71 #71FA93
monochromatic
#B108E8 #C836F8 #D871FA #E8ACFC #F7E1FE

Accessibility & contrast

On white

2.74
#D871FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D871FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871FA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871FA#FFFFFF#000000##000000
##D871FA1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#D787AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d871fa;
/* rgb */ color: rgb(216, 113, 250);
/* oklch */ color: oklch(71.9% 0.212 317.1);
Tailwind
colors: {
  custom: {
    50: '#e79efc',
    500: '#d871fa',
    950: '#000000',
  },
}
SCSS
$custom: #d871fa;
$custom-light: #e79efc;
$custom-dark: #000000;
JSON
{
  "hex": "#d871fa",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 285.109,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71894,
    "c": 0.21242,
    "h": 317.1
  },
  "luminance": 0.33311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D871FA

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

Preview Lab → · Contrast checker → · Palette generator →

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