#D87FCA#D87FCA

#D87FCA is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.6% C 0.144 H 332.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D87FCA
RGBrgb(216, 127, 202)
HSLhsl(309, 53%, 67%)
HSVhsv(309, 41%, 85%)
CMYKcmyk(0%, 41.2%, 6.5%, 15.3%)
CIE-LABlab(65.00, 45.05, -24.30)
CIE-LCHlch(65.00, 51.18, 331.65°)
OKLaboklab(71.64% 0.1286 -0.0657)
OKLCHoklch(71.64% 0.144 332.9)
XYZxyz(46.5686, 34.0445, 59.9840)
Luminance0.3404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FCA #7FD88D
analogous
#B97FD8 #D87FCA #D87F9E
triadic
#D87FCA #CAD87F #7FCAD8
tetradic
#D87FCA #D8B97F #7FD88D #7F9ED8
square
#D87FCA #D8B97F #7FD88D #7F9ED8
split-complementary
#D87FCA #9ED87F #7FD8B9
monochromatic
#A93497 #CA50B7 #D87FCA #E6AEDD #F5DDF1

Accessibility & contrast

On white

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

On black

7.81
#D87FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FCA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FCA#FFFFFF#000000##000000
##D87FCA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CD
Deuteranopia (green-blind)
#95A2C7
Tritanopia (blue-blind)
#DF849B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87fca;
/* rgb */ color: rgb(216, 127, 202);
/* oklch */ color: oklch(71.6% 0.144 332.9);
Tailwind
colors: {
  custom: {
    50: '#e5a6da',
    500: '#d87fca',
    950: '#000000',
  },
}
SCSS
$custom: #d87fca;
$custom-light: #e5a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fca",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 309.438,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71639,
    "c": 0.14441,
    "h": 332.9
  },
  "luminance": 0.34042
}

Semantic roles & 50–950 ramp

primary
#D87FCA
secondary
#CBE7D0
accent
#C13D25
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D87FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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