#D87ECD#D87ECD

#D87ECD is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.149 H 331.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D87ECD
RGBrgb(216, 126, 205)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 42%, 85%)
CMYKcmyk(0%, 41.7%, 5.1%, 15.3%)
CIE-LABlab(64.91, 46.08, -26.12)
CIE-LCHlch(64.91, 52.97, 330.45°)
OKLaboklab(71.61% 0.1308 -0.0708)
OKLCHoklch(71.61% 0.149 331.6)
XYZxyz(46.7988, 33.9309, 61.8301)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87ECD #7ED889
analogous
#B67ED8 #D87ECD #D87EA0
triadic
#D87ECD #CDD87E #7ECDD8
tetradic
#D87ECD #D8B67E #7ED889 #7EA0D8
square
#D87ECD #D8B67E #7ED889 #7EA0D8
split-complementary
#D87ECD #A0D87E #7ED8B6
monochromatic
#A9339A #CA4FBB #D87ECD #E6ADDF #F4DCF1

Accessibility & contrast

On white

2.70
#D87ECD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D87ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87ECD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87ECD#FFFFFF#000000##000000
##D87ECD1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D0
Deuteranopia (green-blind)
#93A2CA
Tritanopia (blue-blind)
#DF849C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d87ecd;
/* rgb */ color: rgb(216, 126, 205);
/* oklch */ color: oklch(71.6% 0.149 331.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5dc',
    500: '#d87ecd',
    950: '#000000',
  },
}
SCSS
$custom: #d87ecd;
$custom-light: #e6a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ecd",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 307.333,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71609,
    "c": 0.14874,
    "h": 331.6
  },
  "luminance": 0.33928
}

Semantic roles & 50–950 ramp

primary
#D87ECD
secondary
#CBE7CE
accent
#C13824
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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