#D871DB#D871DB

#D871DB is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.183 H 326.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D871DB
RGBrgb(216, 113, 219)
HSLhsl(298, 60%, 65%)
HSVhsv(298, 48%, 86%)
CMYKcmyk(1.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(62.95, 55.12, -37.00)
CIE-LCHlch(62.95, 66.38, 326.13°)
OKLaboklab(70.34% 0.1521 -0.1016)
OKLCHoklch(70.34% 0.183 326.2)
XYZxyz(47.0093, 31.5261, 70.6131)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D871DB #74DB71
analogous
#A371DB #D871DB #DB71A9
triadic
#D871DB #DBD871 #71DBD8
tetradic
#D871DB #DBA371 #74DB71 #71A9DB
square
#D871DB #DBA371 #74DB71 #71A9DB
split-complementary
#D871DB #A9DB71 #71DBA3
monochromatic
#A42AA7 #CB40CF #D871DB #E5A2E7 #F3D3F4

Accessibility & contrast

On white

2.87
#D871DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D871DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D871DB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D871DB#FFFFFF#000000##000000
##D871DB1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#DD7D9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d871db;
/* rgb */ color: rgb(216, 113, 219);
/* oklch */ color: oklch(70.3% 0.183 326.2);
Tailwind
colors: {
  custom: {
    50: '#e69de6',
    500: '#d871db',
    950: '#000000',
  },
}
SCSS
$custom: #d871db;
$custom-light: #e69de6;
$custom-dark: #000000;
JSON
{
  "hex": "#d871db",
  "rgb": {
    "r": 216,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 298.302,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70338,
    "c": 0.18291,
    "h": 326.2
  },
  "luminance": 0.31524
}

Semantic roles & 50–950 ramp

primary
#D871DB
secondary
#C3E6C2
accent
#C71E23
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D871DB

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

Preview Lab → · Contrast checker → · Palette generator →

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