#D87CCD#D87CCD

#D87CCD is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.152 H 331.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D87CCD
RGBrgb(216, 124, 205)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 43%, 85%)
CMYKcmyk(0%, 42.6%, 5.1%, 15.3%)
CIE-LABlab(64.50, 47.11, -26.75)
CIE-LCHlch(64.50, 54.17, 330.42°)
OKLaboklab(71.31% 0.1338 -0.0725)
OKLCHoklch(71.31% 0.152 331.5)
XYZxyz(46.5456, 33.4245, 61.7457)
Luminance0.3342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CCD #7CD887
analogous
#B57CD8 #D87CCD #D87C9F
triadic
#D87CCD #CDD87C #7CCDD8
tetradic
#D87CCD #D8B57C #7CD887 #7C9FD8
square
#D87CCD #D8B57C #7CD887 #7C9FD8
split-complementary
#D87CCD #9FD87C #7CD8B5
monochromatic
#A8329A #CA4DBB #D87CCD #E6ABDF #F4DAF1

Accessibility & contrast

On white

2.73
#D87CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D87CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CCD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CCD#FFFFFF#000000##000000
##D87CCD1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#DF829B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d87ccd;
/* rgb */ color: rgb(216, 124, 205);
/* oklch */ color: oklch(71.3% 0.152 331.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4dc',
    500: '#d87ccd',
    950: '#000000',
  },
}
SCSS
$custom: #d87ccd;
$custom-light: #e6a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ccd",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 307.174,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.15215,
    "h": 331.5
  },
  "luminance": 0.33422
}

Semantic roles & 50–950 ramp

primary
#D87CCD
secondary
#C9E7CD
accent
#C23724
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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