#D871CD#D871CD

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

Color values

HEX#D871CD
RGBrgb(216, 113, 205)
HSLhsl(306, 57%, 65%)
HSVhsv(306, 48%, 85%)
CMYKcmyk(0%, 47.7%, 5.1%, 15.3%)
CIE-LABlab(62.36, 52.66, -30.06)
CIE-LCHlch(62.36, 60.64, 330.28°)
OKLaboklab(69.7% 0.1496 -0.0818)
OKLCHoklch(69.7% 0.171 331.3)
XYZxyz(45.2431, 30.8197, 61.3115)
Luminance0.3082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871CD #71D87C
analogous
#B071D8 #D871CD #D8719A
triadic
#D871CD #CDD871 #71CDD8
tetradic
#D871CD #D8B071 #71D87C #719AD8
square
#D871CD #D8B071 #71D87C #719AD8
split-complementary
#D871CD #9AD871 #71D8B0
monochromatic
#A22D96 #CB41BC #D871CD #E5A1DE #F2D1EF

Accessibility & contrast

On white

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

On black

7.16
#D871CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871CD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871CD#FFFFFF#000000##000000
##D871CD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d871cd;
/* rgb */ color: rgb(216, 113, 205);
/* oklch */ color: oklch(69.7% 0.171 331.3);
Tailwind
colors: {
  custom: {
    50: '#e69ddc',
    500: '#d871cd',
    950: '#000000',
  },
}
SCSS
$custom: #d871cd;
$custom-light: #e69ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d871cd",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 306.408,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.17052,
    "h": 331.3
  },
  "luminance": 0.30817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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