#C87EC0#C87EC0

#C87EC0 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.2% C 0.125 H 330.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C87EC0
RGBrgb(200, 126, 192)
HSLhsl(306, 40%, 64%)
HSVhsv(306, 37%, 78%)
CMYKcmyk(0%, 37%, 4%, 21.6%)
CIE-LABlab(62.52, 38.73, -22.64)
CIE-LCHlch(62.52, 44.86, 329.69°)
OKLaboklab(69.24% 0.1094 -0.0612)
OKLCHoklch(69.24% 0.125 330.7)
XYZxyz(40.7942, 31.0087, 53.6954)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EC0 #7EC886
analogous
#AB7EC8 #C87EC0 #C87E9B
triadic
#C87EC0 #C0C87E #7EC0C8
tetradic
#C87EC0 #C8AB7E #7EC886 #7E9BC8
square
#C87EC0 #C8AB7E #7EC886 #7E9BC8
split-complementary
#C87EC0 #9BC87E #7EC8AB
monochromatic
#8F3D86 #B653AB #C87EC0 #DAA9D5 #EDD4EA

Accessibility & contrast

On white

2.92
#C87EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C87EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EC0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EC0#FFFFFF#000000##000000
##C87EC01.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C2
Deuteranopia (green-blind)
#8E9BBE
Tritanopia (blue-blind)
#CE8396
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c87ec0;
/* rgb */ color: rgb(200, 126, 192);
/* oklch */ color: oklch(69.2% 0.125 330.7);
Tailwind
colors: {
  custom: {
    50: '#daa5d3',
    500: '#c87ec0',
    950: '#000000',
  },
}
SCSS
$custom: #c87ec0;
$custom-light: #daa5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ec0",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 306.486,
    "s": 40.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69235,
    "c": 0.12533,
    "h": 330.7
  },
  "luminance": 0.31007
}

Semantic roles & 50–950 ramp

primary
#C87EC0
secondary
#C4DEC7
accent
#B34032
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C87EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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