#C987CA#C987CA

#C987CA is a light, moderate purple. Relative luminance 0.340; OKLCH L 71.2% C 0.120 H 326.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C987CA
RGBrgb(201, 135, 202)
HSLhsl(299, 39%, 66%)
HSVhsv(299, 33%, 79%)
CMYKcmyk(0.5%, 33.2%, 0%, 20.8%)
CIE-LABlab(64.97, 36.04, -24.49)
CIE-LCHlch(64.97, 43.58, 325.80°)
OKLaboklab(71.24% 0.0995 -0.0665)
OKLCHoklch(71.24% 0.12 326.2)
XYZxyz(43.4111, 34.0113, 60.1438)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987CA #88CA87
analogous
#A787CA #C987CA #CA87A9
triadic
#C987CA #CAC987 #87CAC9
tetradic
#C987CA #CAA787 #88CA87 #87A9CA
square
#C987CA #CAA787 #88CA87 #87A9CA
split-complementary
#C987CA #A9CA87 #87CAA7
monochromatic
#944295 #B65DB7 #C987CA #DCB1DD #EFDCEF

Accessibility & contrast

On white

2.69
#C987CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#C987CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987CA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987CA#FFFFFF#000000##000000
##C987CA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8298CD
Deuteranopia (green-blind)
#92A1C8
Tritanopia (blue-blind)
#CD8DA0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c987ca;
/* rgb */ color: rgb(201, 135, 202);
/* oklch */ color: oklch(71.2% 0.120 326.2);
Tailwind
colors: {
  custom: {
    50: '#daabda',
    500: '#c987ca',
    950: '#000000',
  },
}
SCSS
$custom: #c987ca;
$custom-light: #daabda;
$custom-dark: #000000;
JSON
{
  "hex": "#c987ca",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 299.104,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7124,
    "c": 0.11967,
    "h": 326.2
  },
  "luminance": 0.3401
}

Semantic roles & 50–950 ramp

primary
#C987CA
secondary
#CCE1CB
accent
#B23436
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #C987CA

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

Preview Lab → · Contrast checker → · Palette generator →

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