#DC87DA#DC87DA

#DC87DA is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.0% C 0.148 H 327.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#DC87DA
RGBrgb(220, 135, 218)
HSLhsl(301, 55%, 70%)
HSVhsv(301, 39%, 86%)
CMYKcmyk(0%, 38.6%, 0.9%, 13.7%)
CIE-LABlab(67.73, 44.95, -28.99)
CIE-LCHlch(67.73, 53.48, 327.18°)
OKLaboklab(74% 0.1251 -0.0789)
OKLCHoklch(74% 0.148 327.8)
XYZxyz(50.8331, 37.6079, 70.8975)
Luminance0.3761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87DA #87DC89
analogous
#B487DC #DC87DA #DC87B0
triadic
#DC87DA #DADC87 #87DADC
tetradic
#DC87DA #DCB487 #87DC89 #87B0DC
square
#DC87DA #DCB487 #87DC89 #87B0DC
split-complementary
#DC87DA #B0DC87 #87DCB4
monochromatic
#B435B1 #CE58CB #DC87DA #EAB6E9 #F8E6F7

Accessibility & contrast

On white

2.46
#DC87DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#DC87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87DA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87DA#FFFFFF#000000##000000
##DC87DA1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDD
Deuteranopia (green-blind)
#97A9D7
Tritanopia (blue-blind)
#E18FA7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc87da;
/* rgb */ color: rgb(220, 135, 218);
/* oklch */ color: oklch(74.0% 0.148 327.8);
Tailwind
colors: {
  custom: {
    50: '#e8ace5',
    500: '#dc87da',
    950: '#000000',
  },
}
SCSS
$custom: #dc87da;
$custom-light: #e8ace5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87da",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 301.412,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73995,
    "c": 0.14793,
    "h": 327.8
  },
  "luminance": 0.37606
}

Semantic roles & 50–950 ramp

primary
#DC87DA
secondary
#D3ECD4
accent
#C22723
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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