#C987DA#C987DA

#C987DA is a light, vivid purple. Relative luminance 0.348; OKLCH L 71.9% C 0.136 H 319.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#C987DA
RGBrgb(201, 135, 218)
HSLhsl(288, 53%, 69%)
HSVhsv(288, 38%, 85%)
CMYKcmyk(7.8%, 38.1%, 0%, 14.5%)
CIE-LABlab(65.60, 39.14, -32.45)
CIE-LCHlch(65.60, 50.84, 320.34°)
OKLaboklab(71.92% 0.1033 -0.0891)
OKLCHoklch(71.92% 0.136 319.2)
XYZxyz(45.4046, 34.8088, 70.6430)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987DA #98DA87
analogous
#A087DA #C987DA #DA87C2
triadic
#C987DA #DAC987 #87DAC9
tetradic
#C987DA #DAA087 #98DA87 #87C2DA
square
#C987DA #DAA087 #98DA87 #87C2DA
split-complementary
#C987DA #C2DA87 #87DAA0
monochromatic
#9736B0 #B458CC #C987DA #DEB6E8 #F3E5F7

Accessibility & contrast

On white

2.64
#C987DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#C987DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987DA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987DA#FFFFFF#000000##000000
##C987DA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#8CA2D7
Tritanopia (blue-blind)
#CA91A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c987da;
/* rgb */ color: rgb(201, 135, 218);
/* oklch */ color: oklch(71.9% 0.136 319.2);
Tailwind
colors: {
  custom: {
    50: '#daabe5',
    500: '#c987da',
    950: '#000000',
  },
}
SCSS
$custom: #c987da;
$custom-light: #daabe5;
$custom-dark: #000000;
JSON
{
  "hex": "#c987da",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 287.711,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71921,
    "c": 0.13642,
    "h": 319.2
  },
  "luminance": 0.34807
}

Semantic roles & 50–950 ramp

primary
#C987DA
secondary
#D7EAD2
accent
#C02545
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C987DA

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

Preview Lab → · Contrast checker → · Palette generator →

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