#D871CE#D871CE

#D871CE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.7% C 0.171 H 330.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D871CE
RGBrgb(216, 113, 206)
HSLhsl(306, 57%, 65%)
HSVhsv(306, 48%, 85%)
CMYKcmyk(0%, 47.7%, 4.6%, 15.3%)
CIE-LABlab(62.40, 52.83, -30.56)
CIE-LCHlch(62.40, 61.03, 329.95°)
OKLaboklab(69.75% 0.1498 -0.0832)
OKLCHoklch(69.75% 0.171 330.9)
XYZxyz(45.3642, 30.8681, 61.9493)
Luminance0.3086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871CE #71D87B
analogous
#AF71D8 #D871CE #D8719B
triadic
#D871CE #CED871 #71CED8
tetradic
#D871CE #D8AF71 #71D87B #719BD8
square
#D871CE #D8AF71 #71D87B #719BD8
split-complementary
#D871CE #9BD871 #71D8AF
monochromatic
#A22D97 #CB41BD #D871CE #E5A1DF #F2D1EF

Accessibility & contrast

On white

2.93
#D871CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D871CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871CE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871CE#FFFFFF#000000##000000
##D871CE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#8A9CCB
Tritanopia (blue-blind)
#DF7996
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d871ce;
/* rgb */ color: rgb(216, 113, 206);
/* oklch */ color: oklch(69.7% 0.171 330.9);
Tailwind
colors: {
  custom: {
    50: '#e69ddd',
    500: '#d871ce',
    950: '#000000',
  },
}
SCSS
$custom: #d871ce;
$custom-light: #e69ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#d871ce",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 305.825,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.17137,
    "h": 330.9
  },
  "luminance": 0.30865
}

Semantic roles & 50–950 ramp

primary
#D871CE
secondary
#C1E4C4
accent
#C43121
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D871CE

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

Preview Lab → · Contrast checker → · Palette generator →

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