#C87CDC#C87CDC

#C87CDC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.157 H 319.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C87CDC
RGBrgb(200, 124, 220)
HSLhsl(288, 58%, 67%)
HSVhsv(288, 44%, 86%)
CMYKcmyk(9.1%, 43.6%, 0%, 13.7%)
CIE-LABlab(63.23, 45.12, -37.26)
CIE-LCHlch(63.23, 58.51, 320.45°)
OKLaboklab(70.15% 0.1185 -0.1028)
OKLCHoklch(70.15% 0.157 319.1)
XYZxyz(43.9436, 31.8634, 71.5317)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87CDC #90DC7C
analogous
#987CDC #C87CDC #DC7CC0
triadic
#C87CDC #DCC87C #7CDCC8
tetradic
#C87CDC #DC987C #90DC7C #7CC0DC
square
#C87CDC #DC987C #90DC7C #7CC0DC
split-complementary
#C87CDC #C0DC7C #7CDC98
monochromatic
#942FAF #B44CCF #C87CDC #DCACE9 #F1DDF6

Accessibility & contrast

On white

2.85
#C87CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#C87CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87CDC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87CDC#FFFFFF#000000##000000
##C87CDC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94DF
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#C988A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c87cdc;
/* rgb */ color: rgb(200, 124, 220);
/* oklch */ color: oklch(70.1% 0.157 319.1);
Tailwind
colors: {
  custom: {
    50: '#daa4e7',
    500: '#c87cdc',
    950: '#000000',
  },
}
SCSS
$custom: #c87cdc;
$custom-light: #daa4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c87cdc",
  "rgb": {
    "r": 200,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 287.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70146,
    "c": 0.15683,
    "h": 319.1
  },
  "luminance": 0.31862
}

Semantic roles & 50–950 ramp

primary
#C87CDC
secondary
#D1E9CB
accent
#C52043
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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