#C87DEC#C87DEC

#C87DEC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.172 H 313.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C87DEC
RGBrgb(200, 125, 236)
HSLhsl(281, 74%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(15.3%, 47%, 0%, 7.5%)
CIE-LABlab(64.16, 47.85, -44.68)
CIE-LCHlch(64.16, 65.47, 316.96°)
OKLaboklab(71.08% 0.1196 -0.1242)
OKLCHoklch(71.08% 0.172 313.9)
XYZxyz(46.2909, 33.0039, 83.2725)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DEC #A1EC7D
analogous
#907DEC #C87DEC #EC7DD8
triadic
#C87DEC #ECC87D #7DECC8
tetradic
#C87DEC #EC907D #A1EC7D #7DD8EC
square
#C87DEC #EC907D #A1EC7D #7DD8EC
split-complementary
#C87DEC #D8EC7D #7DEC90
monochromatic
#971ED0 #B148E4 #C87DEC #DFB2F4 #F4E4FB

Accessibility & contrast

On white

2.76
#C87DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C87DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DEC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DEC#FFFFFF#000000##000000
##C87DEC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#7B9DE9
Tritanopia (blue-blind)
#C58EAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87dec;
/* rgb */ color: rgb(200, 125, 236);
/* oklch */ color: oklch(71.1% 0.172 313.9);
Tailwind
colors: {
  custom: {
    50: '#dba4f2',
    500: '#c87dec',
    950: '#000000',
  },
}
SCSS
$custom: #c87dec;
$custom-light: #dba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87dec",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 280.541,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71081,
    "c": 0.17239,
    "h": 313.9
  },
  "luminance": 0.33003
}

Semantic roles & 50–950 ramp

primary
#C87DEC
secondary
#DDF1D3
accent
#D70F50
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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