#DC87D2#DC87D2

#DC87D2 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.7% C 0.141 H 331.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#DC87D2
RGBrgb(220, 135, 210)
HSLhsl(307, 55%, 70%)
HSVhsv(307, 39%, 86%)
CMYKcmyk(0%, 38.6%, 4.5%, 13.7%)
CIE-LABlab(67.43, 43.52, -25.01)
CIE-LCHlch(67.43, 50.20, 330.12°)
OKLaboklab(73.67% 0.1232 -0.0677)
OKLCHoklch(73.67% 0.141 331.2)
XYZxyz(49.8115, 37.1992, 65.5167)
Luminance0.3720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87D2 #87DC91
analogous
#BC87DC #DC87D2 #DC87A8
triadic
#DC87D2 #D2DC87 #87D2DC
tetradic
#DC87D2 #DCBC87 #87DC91 #87A8DC
square
#DC87D2 #DCBC87 #87DC91 #87A8DC
split-complementary
#DC87D2 #A8DC87 #87DCBC
monochromatic
#B435A5 #CE58C0 #DC87D2 #EAB6E4 #F8E6F6

Accessibility & contrast

On white

2.49
#DC87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#DC87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87D2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87D2#FFFFFF#000000##000000
##DC87D21.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#849DD5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#E38DA3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc87d2;
/* rgb */ color: rgb(220, 135, 210);
/* oklch */ color: oklch(73.7% 0.141 331.2);
Tailwind
colors: {
  custom: {
    50: '#e8ace0',
    500: '#dc87d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc87d2;
$custom-light: #e8ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87d2",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 307.059,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73666,
    "c": 0.14058,
    "h": 331.2
  },
  "luminance": 0.37197
}

Semantic roles & 50–950 ramp

primary
#DC87D2
secondary
#D3ECD6
accent
#C23623
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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