#C987DF#C987DF

#C987DF is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.1% C 0.142 H 317.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#C987DF
RGBrgb(201, 135, 223)
HSLhsl(285, 58%, 70%)
HSVhsv(285, 39%, 87%)
CMYKcmyk(9.9%, 39.5%, 0%, 12.5%)
CIE-LABlab(65.81, 40.14, -34.91)
CIE-LCHlch(65.81, 53.20, 318.99°)
OKLaboklab(72.15% 0.1044 -0.0961)
OKLCHoklch(72.15% 0.142 317.4)
XYZxyz(46.0688, 35.0744, 74.1410)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987DF #9DDF87
analogous
#9D87DF #C987DF #DF87C9
triadic
#C987DF #DFC987 #87DFC9
tetradic
#C987DF #DF9D87 #9DDF87 #87C9DF
square
#C987DF #DF9D87 #9DDF87 #87C9DF
split-complementary
#C987DF #C9DF87 #87DF9D
monochromatic
#9832BA #B357D2 #C987DF #DFB7EC #F4E7F9

Accessibility & contrast

On white

2.62
#C987DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#C987DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987DF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987DF#FFFFFF#000000##000000
##C987DF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE2
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#C992A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c987df;
/* rgb */ color: rgb(201, 135, 223);
/* oklch */ color: oklch(72.1% 0.142 317.4);
Tailwind
colors: {
  custom: {
    50: '#dbabe9',
    500: '#c987df',
    950: '#000000',
  },
}
SCSS
$custom: #c987df;
$custom-light: #dbabe9;
$custom-dark: #000000;
JSON
{
  "hex": "#c987df",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 285,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72145,
    "c": 0.14188,
    "h": 317.4
  },
  "luminance": 0.35073
}

Semantic roles & 50–950 ramp

primary
#C987DF
secondary
#DBEDD5
accent
#C52049
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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