#D871FD#D871FD

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

Color values

HEX#D871FD
RGBrgb(216, 113, 253)
HSLhsl(284, 97%, 72%)
HSVhsv(284, 55%, 99%)
CMYKcmyk(14.6%, 55.3%, 0%, 0.8%)
CIE-LABlab(64.57, 61.54, -53.30)
CIE-LCHlch(64.57, 81.41, 319.11°)
OKLaboklab(72.06% 0.1557 -0.1488)
OKLCHoklch(72.06% 0.215 316.3)
XYZxyz(51.9510, 33.5028, 96.6395)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871FD #96FD71
analogous
#9271FD #D871FD #FD71DC
triadic
#D871FD #FDD871 #71FDD8
tetradic
#D871FD #FD9271 #96FD71 #71DCFD
square
#D871FD #FD9271 #96FD71 #71DCFD
split-complementary
#D871FD #DCFD71 #71FD92
monochromatic
#B203F0 #C735FC #D871FD #E9ADFE #F7E1FF

Accessibility & contrast

On white

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

On black

7.70
#D871FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871FD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871FD#FFFFFF#000000##000000
##D871FD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#D688AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d871fd;
/* rgb */ color: rgb(216, 113, 253);
/* oklch */ color: oklch(72.1% 0.215 316.3);
Tailwind
colors: {
  custom: {
    50: '#e79efe',
    500: '#d871fd',
    950: '#000000',
  },
}
SCSS
$custom: #d871fd;
$custom-light: #e79efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d871fd",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 284.143,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72056,
    "c": 0.21536,
    "h": 316.3
  },
  "luminance": 0.33501
}

Semantic roles & 50–950 ramp

primary
#D871FD
secondary
#DDF7D3
accent
#E6003D
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D871FD

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

Preview Lab → · Contrast checker → · Palette generator →

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