#D87CD8#D87CD8

#D87CD8 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.162 H 327.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D87CD8
RGBrgb(216, 124, 216)
HSLhsl(300, 54%, 67%)
HSVhsv(300, 43%, 85%)
CMYKcmyk(0%, 42.6%, 0%, 15.3%)
CIE-LABlab(64.94, 49.06, -32.22)
CIE-LCHlch(64.94, 58.70, 326.71°)
OKLaboklab(71.78% 0.1361 -0.0881)
OKLCHoklch(71.78% 0.162 327.1)
XYZxyz(47.9203, 33.9744, 68.9860)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CD8 #7CD87C
analogous
#AA7CD8 #D87CD8 #D87CAA
triadic
#D87CD8 #D8D87C #7CD8D8
tetradic
#D87CD8 #D8AA7C #7CD87C #7CAAD8
square
#D87CD8 #D8AA7C #7CD87C #7CAAD8
split-complementary
#D87CD8 #AAD87C #7CD8AA
monochromatic
#A832A8 #CA4DCA #D87CD8 #E6ABE6 #F4DAF4

Accessibility & contrast

On white

2.69
#D87CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D87CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CD8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CD8#FFFFFF#000000##000000
##D87CD81.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DB
Deuteranopia (green-blind)
#8EA2D5
Tritanopia (blue-blind)
#DD85A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87cd8;
/* rgb */ color: rgb(216, 124, 216);
/* oklch */ color: oklch(71.8% 0.162 327.1);
Tailwind
colors: {
  custom: {
    50: '#e6a4e4',
    500: '#d87cd8',
    950: '#000000',
  },
}
SCSS
$custom: #d87cd8;
$custom-light: #e6a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cd8",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 300,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71778,
    "c": 0.16211,
    "h": 327.1
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#D87CD8
secondary
#C9E7C9
accent
#C22424
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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