#D87ACC#D87ACC

#D87ACC is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.0% C 0.155 H 331.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D87ACC
RGBrgb(216, 122, 204)
HSLhsl(308, 55%, 66%)
HSVhsv(308, 44%, 85%)
CMYKcmyk(0%, 43.5%, 5.6%, 15.3%)
CIE-LABlab(64.06, 47.96, -26.86)
CIE-LCHlch(64.06, 54.97, 330.75°)
OKLaboklab(70.96% 0.1364 -0.0728)
OKLCHoklch(70.96% 0.155 331.9)
XYZxyz(46.1772, 32.8802, 61.0293)
Luminance0.3288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87ACC #7AD886
analogous
#B57AD8 #D87ACC #D87A9D
triadic
#D87ACC #CCD87A #7ACCD8
tetradic
#D87ACC #D8B57A #7AD886 #7A9DD8
square
#D87ACC #D8B57A #7AD886 #7A9DD8
split-complementary
#D87ACC #9DD87A #7AD8B5
monochromatic
#A73198 #CA4BBA #D87ACC #E6A9DE #F4D9F0

Accessibility & contrast

On white

2.77
#D87ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D87ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87ACC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87ACC#FFFFFF#000000##000000
##D87ACC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#DF809A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d87acc;
/* rgb */ color: rgb(216, 122, 204);
/* oklch */ color: oklch(71.0% 0.155 331.9);
Tailwind
colors: {
  custom: {
    50: '#e6a3db',
    500: '#d87acc',
    950: '#000000',
  },
}
SCSS
$custom: #d87acc;
$custom-light: #e6a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#d87acc",
  "rgb": {
    "r": 216,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 307.66,
    "s": 54.651,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.15467,
    "h": 331.9
  },
  "luminance": 0.32878
}

Semantic roles & 50–950 ramp

primary
#D87ACC
secondary
#C8E6CB
accent
#C23823
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D87ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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