#C987DB#C987DB

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

Color values

HEX#C987DB
RGBrgb(201, 135, 219)
HSLhsl(287, 54%, 69%)
HSVhsv(287, 38%, 86%)
CMYKcmyk(8.2%, 38.4%, 0%, 14.1%)
CIE-LABlab(65.64, 39.34, -32.94)
CIE-LCHlch(65.64, 51.31, 320.06°)
OKLaboklab(71.97% 0.1036 -0.0905)
OKLCHoklch(71.97% 0.138 318.9)
XYZxyz(45.5358, 34.8613, 71.3343)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C987DB #99DB87
analogous
#9F87DB #C987DB #DB87C3
triadic
#C987DB #DBC987 #87DBC9
tetradic
#C987DB #DB9F87 #99DB87 #87C3DB
square
#C987DB #DB9F87 #99DB87 #87C3DB
split-complementary
#C987DB #C3DB87 #87DB9F
monochromatic
#9735B2 #B458CD #C987DB #DEB6E9 #F3E5F7

Accessibility & contrast

On white

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

On black

7.97
#C987DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C987DB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C987DB#FFFFFF#000000##000000
##C987DB1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#8CA2D8
Tritanopia (blue-blind)
#CA91A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c987db;
/* rgb */ color: rgb(201, 135, 219);
/* oklch */ color: oklch(72.0% 0.138 318.9);
Tailwind
colors: {
  custom: {
    50: '#daabe6',
    500: '#c987db',
    950: '#000000',
  },
}
SCSS
$custom: #c987db;
$custom-light: #daabe6;
$custom-dark: #000000;
JSON
{
  "hex": "#c987db",
  "rgb": {
    "r": 201,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 287.143,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71966,
    "c": 0.1375,
    "h": 318.9
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#C987DB
secondary
#D8EBD3
accent
#C12446
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C987DB

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

Preview Lab → · Contrast checker → · Palette generator →

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