#D87CDA#D87CDA

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

Color values

HEX#D87CDA
RGBrgb(216, 124, 218)
HSLhsl(299, 56%, 67%)
HSVhsv(299, 43%, 85%)
CMYKcmyk(0.9%, 43.1%, 0%, 14.5%)
CIE-LABlab(65.02, 49.43, -33.21)
CIE-LCHlch(65.02, 59.55, 326.10°)
OKLaboklab(71.87% 0.1365 -0.0909)
OKLCHoklch(71.87% 0.164 326.3)
XYZxyz(48.1805, 34.0785, 70.3560)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CDA #7EDA7C
analogous
#A97CDA #D87CDA #DA7CAD
triadic
#D87CDA #DAD87C #7CDAD8
tetradic
#D87CDA #DAA97C #7EDA7C #7CADDA
square
#D87CDA #DAA97C #7EDA7C #7CADDA
split-complementary
#D87CDA #ADDA7C #7CDAA9
monochromatic
#A930AB #CA4CCD #D87CDA #E6ACE7 #F4DBF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87CDA#FFFFFF#000000##000000
##D87CDA1.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)
#7496DD
Deuteranopia (green-blind)
#8DA2D7
Tritanopia (blue-blind)
#DD86A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d87cda;
/* rgb */ color: rgb(216, 124, 218);
/* oklch */ color: oklch(71.9% 0.164 326.3);
Tailwind
colors: {
  custom: {
    50: '#e6a4e5',
    500: '#d87cda',
    950: '#000000',
  },
}
SCSS
$custom: #d87cda;
$custom-light: #e6a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cda",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 298.723,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.16399,
    "h": 326.3
  },
  "luminance": 0.34076
}

Semantic roles & 50–950 ramp

primary
#D87CDA
secondary
#CBE8CA
accent
#C32225
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D87CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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