#D87FC2#D87FC2

#D87FC2 is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.3% C 0.138 H 336.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D87FC2
RGBrgb(216, 127, 194)
HSLhsl(315, 53%, 67%)
HSVhsv(315, 41%, 85%)
CMYKcmyk(0%, 41.2%, 10.2%, 15.3%)
CIE-LABlab(64.70, 43.69, -20.26)
CIE-LCHlch(64.70, 48.16, 335.13°)
OKLaboklab(71.32% 0.1266 -0.0544)
OKLCHoklch(71.32% 0.138 336.8)
XYZxyz(45.6459, 33.6754, 55.1242)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FC2 #7FD895
analogous
#C17FD8 #D87FC2 #D87F96
triadic
#D87FC2 #C2D87F #7FC2D8
tetradic
#D87FC2 #D8C17F #7FD895 #7F96D8
square
#D87FC2 #D8C17F #7FD895 #7F96D8
split-complementary
#D87FC2 #96D87F #7FD8C1
monochromatic
#A9348C #CA50AC #D87FC2 #E6AED8 #F5DDEF

Accessibility & contrast

On white

2.72
#D87FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D87FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FC2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FC2#FFFFFF#000000##000000
##D87FC21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#98A2BF
Tritanopia (blue-blind)
#E18298
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87fc2;
/* rgb */ color: rgb(216, 127, 194);
/* oklch */ color: oklch(71.3% 0.138 336.8);
Tailwind
colors: {
  custom: {
    50: '#e5a6d4',
    500: '#d87fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d87fc2;
$custom-light: #e5a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fc2",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 314.831,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71321,
    "c": 0.13774,
    "h": 336.8
  },
  "luminance": 0.33673
}

Semantic roles & 50–950 ramp

primary
#D87FC2
secondary
#CBE7D2
accent
#C14B25
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D87FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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