#D87FCB#D87FCB

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

Color values

HEX#D87FCB
RGBrgb(216, 127, 203)
HSLhsl(309, 53%, 67%)
HSVhsv(309, 41%, 85%)
CMYKcmyk(0%, 41.2%, 6%, 15.3%)
CIE-LABlab(65.04, 45.22, -24.81)
CIE-LCHlch(65.04, 51.58, 331.25°)
OKLaboklab(71.68% 0.1289 -0.0671)
OKLCHoklch(71.68% 0.145 332.5)
XYZxyz(46.6874, 34.0920, 60.6096)
Luminance0.3409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FCB #7FD88C
analogous
#B97FD8 #D87FCB #D87F9F
triadic
#D87FCB #CBD87F #7FCBD8
tetradic
#D87FCB #D8B97F #7FD88C #7F9FD8
square
#D87FCB #D8B97F #7FD88C #7F9FD8
split-complementary
#D87FCB #9FD87F #7FD8B9
monochromatic
#A93498 #CA50B8 #D87FCB #E6AEDE #F5DDF1

Accessibility & contrast

On white

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

On black

7.82
#D87FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FCB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FCB#FFFFFF#000000##000000
##D87FCB1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#95A2C8
Tritanopia (blue-blind)
#DF849C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87fcb;
/* rgb */ color: rgb(216, 127, 203);
/* oklch */ color: oklch(71.7% 0.145 332.5);
Tailwind
colors: {
  custom: {
    50: '#e5a6db',
    500: '#d87fcb',
    950: '#000000',
  },
}
SCSS
$custom: #d87fcb;
$custom-light: #e5a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fcb",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 308.764,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7168,
    "c": 0.14527,
    "h": 332.5
  },
  "luminance": 0.34089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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