#D87CD3#D87CD3

#D87CD3 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.158 H 329.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D87CD3
RGBrgb(216, 124, 211)
HSLhsl(303, 54%, 67%)
HSVhsv(303, 43%, 85%)
CMYKcmyk(0%, 42.6%, 2.3%, 15.3%)
CIE-LABlab(64.74, 48.17, -29.74)
CIE-LCHlch(64.74, 56.61, 328.31°)
OKLaboklab(71.56% 0.1351 -0.081)
OKLCHoklch(71.56% 0.158 329)
XYZxyz(47.2837, 33.7198, 65.6334)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CD3 #7CD881
analogous
#AF7CD8 #D87CD3 #D87CA5
triadic
#D87CD3 #D3D87C #7CD3D8
tetradic
#D87CD3 #D8AF7C #7CD881 #7CA5D8
square
#D87CD3 #D8AF7C #7CD881 #7CA5D8
split-complementary
#D87CD3 #A5D87C #7CD8AF
monochromatic
#A832A1 #CA4DC3 #D87CD3 #E6ABE3 #F4DAF3

Accessibility & contrast

On white

2.71
#D87CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D87CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CD3
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CD3#FFFFFF#000000##000000
##D87CD31.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D6
Deuteranopia (green-blind)
#90A1D0
Tritanopia (blue-blind)
#DE849E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87cd3;
/* rgb */ color: rgb(216, 124, 211);
/* oklch */ color: oklch(71.6% 0.158 329.0);
Tailwind
colors: {
  custom: {
    50: '#e6a4e0',
    500: '#d87cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d87cd3;
$custom-light: #e6a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cd3",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 303.261,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.15751,
    "h": 329
  },
  "luminance": 0.33717
}

Semantic roles & 50–950 ramp

primary
#D87CD3
secondary
#C9E7CB
accent
#C22C24
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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