#C87FC2#C87FC2

#C87FC2 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.5% C 0.125 H 329.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C87FC2
RGBrgb(200, 127, 194)
HSLhsl(305, 40%, 64%)
HSVhsv(305, 37%, 78%)
CMYKcmyk(0%, 36.5%, 3%, 21.6%)
CIE-LABlab(62.81, 38.56, -23.32)
CIE-LCHlch(62.81, 45.06, 328.83°)
OKLaboklab(69.48% 0.1084 -0.0632)
OKLCHoklch(69.48% 0.125 329.8)
XYZxyz(41.1458, 31.3550, 54.9133)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FC2 #7FC885
analogous
#AA7FC8 #C87FC2 #C87F9E
triadic
#C87FC2 #C2C87F #7FC2C8
tetradic
#C87FC2 #C8AA7F #7FC885 #7F9EC8
square
#C87FC2 #C8AA7F #7FC885 #7F9EC8
split-complementary
#C87FC2 #9EC87F #7FC8AA
monochromatic
#8F3D88 #B654AE #C87FC2 #DAAAD6 #EDD5EB

Accessibility & contrast

On white

2.89
#C87FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C87FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FC2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FC2#FFFFFF#000000##000000
##C87FC21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#CD8498
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c87fc2;
/* rgb */ color: rgb(200, 127, 194);
/* oklch */ color: oklch(69.5% 0.125 329.8);
Tailwind
colors: {
  custom: {
    50: '#daa5d4',
    500: '#c87fc2',
    950: '#000000',
  },
}
SCSS
$custom: #c87fc2;
$custom-light: #daa5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fc2",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 304.932,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69479,
    "c": 0.12542,
    "h": 329.8
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

primary
#C87FC2
secondary
#C5DEC7
accent
#B33D33
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #C87FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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