#C987DC#C987DC

#C987DC is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.0% C 0.139 H 318.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#C987DC
RGBrgb(201, 135, 220)
HSLhsl(287, 55%, 70%)
HSVhsv(287, 39%, 86%)
CMYKcmyk(8.6%, 38.6%, 0%, 13.7%)
CIE-LABlab(65.68, 39.54, -33.44)
CIE-LCHlch(65.68, 51.78, 319.78°)
OKLaboklab(72.01% 0.1038 -0.0919)
OKLCHoklch(72.01% 0.139 318.5)
XYZxyz(45.6679, 34.9141, 72.0297)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987DC #9ADC87
analogous
#9F87DC #C987DC #DC87C5
triadic
#C987DC #DCC987 #87DCC9
tetradic
#C987DC #DC9F87 #9ADC87 #87C5DC
square
#C987DC #DC9F87 #9ADC87 #87C5DC
split-complementary
#C987DC #C5DC87 #87DC9F
monochromatic
#9835B4 #B458CE #C987DC #DEB6EA #F4E6F8

Accessibility & contrast

On white

2.63
#C987DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#C987DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987DC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987DC#FFFFFF#000000##000000
##C987DC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#8BA2D9
Tritanopia (blue-blind)
#C992A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c987dc;
/* rgb */ color: rgb(201, 135, 220);
/* oklch */ color: oklch(72.0% 0.139 318.5);
Tailwind
colors: {
  custom: {
    50: '#daabe7',
    500: '#c987dc',
    950: '#000000',
  },
}
SCSS
$custom: #c987dc;
$custom-light: #daabe7;
$custom-dark: #000000;
JSON
{
  "hex": "#c987dc",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 286.588,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.13859,
    "h": 318.5
  },
  "luminance": 0.34913
}

Semantic roles & 50–950 ramp

primary
#C987DC
secondary
#D9ECD3
accent
#C22347
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C987DC

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

Preview Lab → · Contrast checker → · Palette generator →

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