#D87CCF#D87CCF

#D87CCF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.154 H 330.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D87CCF
RGBrgb(216, 124, 207)
HSLhsl(306, 54%, 67%)
HSVhsv(306, 43%, 85%)
CMYKcmyk(0%, 42.6%, 4.2%, 15.3%)
CIE-LABlab(64.58, 47.46, -27.75)
CIE-LCHlch(64.58, 54.98, 329.69°)
OKLaboklab(71.39% 0.1342 -0.0754)
OKLCHoklch(71.39% 0.154 330.7)
XYZxyz(46.7885, 33.5217, 63.0252)
Luminance0.3352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CCF #7CD885
analogous
#B37CD8 #D87CCF #D87CA1
triadic
#D87CCF #CFD87C #7CCFD8
tetradic
#D87CCF #D8B37C #7CD885 #7CA1D8
square
#D87CCF #D8B37C #7CD885 #7CA1D8
split-complementary
#D87CCF #A1D87C #7CD8B3
monochromatic
#A8329C #CA4DBE #D87CCF #E6ABE0 #F4DAF2

Accessibility & contrast

On white

2.73
#D87CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D87CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CCF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CCF#FFFFFF#000000##000000
##D87CCF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D2
Deuteranopia (green-blind)
#91A1CC
Tritanopia (blue-blind)
#DF839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87ccf;
/* rgb */ color: rgb(216, 124, 207);
/* oklch */ color: oklch(71.4% 0.154 330.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4de',
    500: '#d87ccf',
    950: '#000000',
  },
}
SCSS
$custom: #d87ccf;
$custom-light: #e6a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ccf",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 305.87,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.7139,
    "c": 0.15391,
    "h": 330.7
  },
  "luminance": 0.33519
}

Semantic roles & 50–950 ramp

primary
#D87CCF
secondary
#C9E7CC
accent
#C23324
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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