#C871CF#C871CF

#C871CF is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.9% C 0.162 H 324.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#C871CF
RGBrgb(200, 113, 207)
HSLhsl(296, 49%, 63%)
HSVhsv(296, 45%, 81%)
CMYKcmyk(3.4%, 45.4%, 0%, 18.8%)
CIE-LABlab(60.42, 48.34, -34.34)
CIE-LCHlch(60.42, 59.29, 324.61°)
OKLaboklab(67.87% 0.1318 -0.0943)
OKLCHoklch(67.87% 0.162 324.4)
XYZxyz(40.9860, 28.5965, 62.3801)
Luminance0.2859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871CF #78CF71
analogous
#9971CF #C871CF #CF71A7
triadic
#C871CF #CFC871 #71CFC8
tetradic
#C871CF #CF9971 #78CF71 #71A7CF
square
#C871CF #CF9971 #78CF71 #71A7CF
split-complementary
#C871CF #A7CF71 #71CF99
monochromatic
#8C3294 #B643C0 #C871CF #DA9FDE #EBCCEE

Accessibility & contrast

On white

3.13
#C871CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#C871CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871CF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871CF#FFFFFF#000000##000000
##C871CF1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD2
Deuteranopia (green-blind)
#7F95CC
Tritanopia (blue-blind)
#CC7C96
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c871cf;
/* rgb */ color: rgb(200, 113, 207);
/* oklch */ color: oklch(67.9% 0.162 324.4);
Tailwind
colors: {
  custom: {
    50: '#da9cde',
    500: '#c871cf',
    950: '#000000',
  },
}
SCSS
$custom: #c871cf;
$custom-light: #da9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#c871cf",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 295.532,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67867,
    "c": 0.1621,
    "h": 324.4
  },
  "luminance": 0.28595
}

Semantic roles & 50–950 ramp

primary
#C871CF
secondary
#BFDFBD
accent
#BD2934
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871CF

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

Preview Lab → · Contrast checker → · Palette generator →

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