#D87FCC#D87FCC

#D87FCC is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.7% C 0.146 H 332.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D87FCC
RGBrgb(216, 127, 204)
HSLhsl(308, 53%, 67%)
HSVhsv(308, 41%, 85%)
CMYKcmyk(0%, 41.2%, 5.6%, 15.3%)
CIE-LABlab(65.07, 45.39, -25.31)
CIE-LCHlch(65.07, 51.97, 330.86°)
OKLaboklab(71.72% 0.1291 -0.0685)
OKLCHoklch(71.72% 0.146 332)
XYZxyz(46.8069, 34.1398, 61.2392)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FCC #7FD88B
analogous
#B87FD8 #D87FCC #D87FA0
triadic
#D87FCC #CCD87F #7FCCD8
tetradic
#D87FCC #D8B87F #7FD88B #7FA0D8
square
#D87FCC #D8B87F #7FD88B #7FA0D8
split-complementary
#D87FCC #A0D87F #7FD8B8
monochromatic
#A93499 #CA50B9 #D87FCC #E6AEDF #F5DDF1

Accessibility & contrast

On white

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

On black

7.83
#D87FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FCC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FCC#FFFFFF#000000##000000
##D87FCC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CF
Deuteranopia (green-blind)
#94A2C9
Tritanopia (blue-blind)
#DF859C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87fcc;
/* rgb */ color: rgb(216, 127, 204);
/* oklch */ color: oklch(71.7% 0.146 332.0);
Tailwind
colors: {
  custom: {
    50: '#e5a6db',
    500: '#d87fcc',
    950: '#000000',
  },
}
SCSS
$custom: #d87fcc;
$custom-light: #e5a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fcc",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 308.09,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.14615,
    "h": 332
  },
  "luminance": 0.34137
}

Semantic roles & 50–950 ramp

primary
#D87FCC
secondary
#CBE7CF
accent
#C13A25
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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