#D871CF#D871CF

#D871CF is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.172 H 330.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D871CF
RGBrgb(216, 113, 207)
HSLhsl(305, 57%, 65%)
HSVhsv(305, 48%, 85%)
CMYKcmyk(0%, 47.7%, 4.2%, 15.3%)
CIE-LABlab(62.44, 53.00, -31.06)
CIE-LCHlch(62.44, 61.43, 329.63°)
OKLaboklab(69.79% 0.15 -0.0847)
OKLCHoklch(69.79% 0.172 330.6)
XYZxyz(45.4861, 30.9168, 62.5911)
Luminance0.3091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871CF #71D87A
analogous
#AE71D8 #D871CF #D8719C
triadic
#D871CF #CFD871 #71CFD8
tetradic
#D871CF #D8AE71 #71D87A #719CD8
square
#D871CF #D8AE71 #71D87A #719CD8
split-complementary
#D871CF #9CD871 #71D8AE
monochromatic
#A22D98 #CB41BF #D871CF #E5A1DF #F2D1EF

Accessibility & contrast

On white

2.92
#D871CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D871CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871CF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871CF#FFFFFF#000000##000000
##D871CF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#DF7996
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d871cf;
/* rgb */ color: rgb(216, 113, 207);
/* oklch */ color: oklch(69.8% 0.172 330.6);
Tailwind
colors: {
  custom: {
    50: '#e69dde',
    500: '#d871cf',
    950: '#000000',
  },
}
SCSS
$custom: #d871cf;
$custom-light: #e69dde;
$custom-dark: #000000;
JSON
{
  "hex": "#d871cf",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 305.243,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.17224,
    "h": 330.6
  },
  "luminance": 0.30914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D871CF

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

Preview Lab → · Contrast checker → · Palette generator →

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