#DC87D7#DC87D7

#DC87D7 is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.9% C 0.145 H 329.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#DC87D7
RGBrgb(220, 135, 215)
HSLhsl(304, 55%, 70%)
HSVhsv(304, 39%, 86%)
CMYKcmyk(0%, 38.6%, 2.3%, 13.7%)
CIE-LABlab(67.61, 44.41, -27.50)
CIE-LCHlch(67.61, 52.23, 328.23°)
OKLaboklab(73.87% 0.1244 -0.0747)
OKLCHoklch(73.87% 0.145 329)
XYZxyz(50.4441, 37.4522, 68.8487)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87D7 #87DC8C
analogous
#B687DC #DC87D7 #DC87AD
triadic
#DC87D7 #D7DC87 #87D7DC
tetradic
#DC87D7 #DCB687 #87DC8C #87ADDC
square
#DC87D7 #DCB687 #87DC8C #87ADDC
split-complementary
#DC87D7 #ADDC87 #87DCB6
monochromatic
#B435AD #CE58C7 #DC87D7 #EAB6E7 #F8E6F7

Accessibility & contrast

On white

2.47
#DC87D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#DC87D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87D7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87D7#FFFFFF#000000##000000
##DC87D71.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDA
Deuteranopia (green-blind)
#99A9D4
Tritanopia (blue-blind)
#E28EA5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc87d7;
/* rgb */ color: rgb(220, 135, 215);
/* oklch */ color: oklch(73.9% 0.145 329.0);
Tailwind
colors: {
  custom: {
    50: '#e8ace3',
    500: '#dc87d7',
    950: '#000000',
  },
}
SCSS
$custom: #dc87d7;
$custom-light: #e8ace3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87d7",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 303.529,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7387,
    "c": 0.14513,
    "h": 329
  },
  "luminance": 0.3745
}

Semantic roles & 50–950 ramp

primary
#DC87D7
secondary
#D3ECD5
accent
#C22D23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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