#C87CDF#C87CDF

#C87CDF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.160 H 318.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#C87CDF
RGBrgb(200, 124, 223)
HSLhsl(286, 61%, 68%)
HSVhsv(286, 44%, 87%)
CMYKcmyk(10.3%, 44.4%, 0%, 12.5%)
CIE-LABlab(63.36, 45.72, -38.73)
CIE-LCHlch(63.36, 59.91, 319.73°)
OKLaboklab(70.29% 0.119 -0.107)
OKLCHoklch(70.29% 0.16 318)
XYZxyz(44.3445, 32.0238, 73.6430)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87CDF #93DF7C
analogous
#977CDF #C87CDF #DF7CC4
triadic
#C87CDF #DFC87C #7CDFC8
tetradic
#C87CDF #DF977C #93DF7C #7CC4DF
square
#C87CDF #DF977C #93DF7C #7CC4DF
split-complementary
#C87CDF #C4DF7C #7CDF97
monochromatic
#952CB5 #B34BD3 #C87CDF #DDADEB #F1DEF7

Accessibility & contrast

On white

2.84
#C87CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#C87CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87CDF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87CDF#FFFFFF#000000##000000
##C87CDF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C94E3
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#C889A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c87cdf;
/* rgb */ color: rgb(200, 124, 223);
/* oklch */ color: oklch(70.3% 0.160 318.0);
Tailwind
colors: {
  custom: {
    50: '#daa4e9',
    500: '#c87cdf',
    950: '#000000',
  },
}
SCSS
$custom: #c87cdf;
$custom-light: #daa4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87cdf",
  "rgb": {
    "r": 200,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 286.061,
    "s": 60.736,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.16,
    "h": 318
  },
  "luminance": 0.32022
}

Semantic roles & 50–950 ramp

primary
#C87CDF
secondary
#D3EBCC
accent
#C81D45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C87CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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