#D87CDC#D87CDC

#D87CDC is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.166 H 325.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D87CDC
RGBrgb(216, 124, 220)
HSLhsl(298, 58%, 67%)
HSVhsv(298, 44%, 86%)
CMYKcmyk(1.8%, 43.6%, 0%, 13.7%)
CIE-LABlab(65.11, 49.79, -34.19)
CIE-LCHlch(65.11, 60.40, 325.52°)
OKLaboklab(71.96% 0.1369 -0.0937)
OKLCHoklch(71.96% 0.166 325.6)
XYZxyz(48.4437, 34.1838, 71.7427)
Luminance0.3418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CDC #80DC7C
analogous
#A87CDC #D87CDC #DC7CB0
triadic
#D87CDC #DCD87C #7CDCD8
tetradic
#D87CDC #DCA87C #80DC7C #7CB0DC
square
#D87CDC #DCA87C #80DC7C #7CB0DC
split-complementary
#D87CDC #B0DC7C #7CDCA8
monochromatic
#AA2FAF #CA4CCF #D87CDC #E6ACE9 #F5DDF6

Accessibility & contrast

On white

2.68
#D87CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D87CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CDC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CDC#FFFFFF#000000##000000
##D87CDC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#DC86A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87cdc;
/* rgb */ color: rgb(216, 124, 220);
/* oklch */ color: oklch(72.0% 0.166 325.6);
Tailwind
colors: {
  custom: {
    50: '#e6a4e7',
    500: '#d87cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d87cdc;
$custom-light: #e6a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cdc",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 297.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.16588,
    "h": 325.6
  },
  "luminance": 0.34182
}

Semantic roles & 50–950 ramp

primary
#D87CDC
secondary
#CCE9CB
accent
#C52027
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D87CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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