#D871FF#D871FF

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

Color values

HEX#D871FF
RGBrgb(216, 113, 255)
HSLhsl(284, 100%, 72%)
HSVhsv(284, 56%, 100%)
CMYKcmyk(15.3%, 55.7%, 0%, 0%)
CIE-LABlab(64.67, 61.94, -54.23)
CIE-LCHlch(64.67, 82.33, 318.80°)
OKLaboklab(72.16% 0.1558 -0.1515)
OKLCHoklch(72.16% 0.217 315.8)
XYZxyz(52.2713, 33.6309, 98.3263)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871FF #98FF71
analogous
#9171FF #D871FF #FF71DF
triadic
#D871FF #FFD871 #71FFD8
tetradic
#D871FF #FF9171 #98FF71 #71DFFF
square
#D871FF #FF9171 #98FF71 #71DFFF
split-complementary
#D871FF #DFFF71 #71FF91
monochromatic
#B200F6 #C734FF #D871FF #E9AEFF #F7E0FF

Accessibility & contrast

On white

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

On black

7.73
#D871FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871FF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871FF#FFFFFF#000000##000000
##D871FF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#D688AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d871ff;
/* rgb */ color: rgb(216, 113, 255);
/* oklch */ color: oklch(72.2% 0.217 315.8);
Tailwind
colors: {
  custom: {
    50: '#e79eff',
    500: '#d871ff',
    950: '#000000',
  },
}
SCSS
$custom: #d871ff;
$custom-light: #e79eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d871ff",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 283.521,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72164,
    "c": 0.21734,
    "h": 315.8
  },
  "luminance": 0.33629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D871FF

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

Preview Lab → · Contrast checker → · Palette generator →

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