#C871CE#C871CE

#C871CE is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.8% C 0.161 H 324.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C871CE
RGBrgb(200, 113, 206)
HSLhsl(296, 49%, 63%)
HSVhsv(296, 45%, 81%)
CMYKcmyk(2.9%, 45.1%, 0%, 19.2%)
CIE-LABlab(60.38, 48.15, -33.85)
CIE-LCHlch(60.38, 58.85, 324.89°)
OKLaboklab(67.82% 0.1317 -0.0929)
OKLCHoklch(67.82% 0.161 324.8)
XYZxyz(40.8641, 28.5477, 61.7383)
Luminance0.2855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871CE #77CE71
analogous
#9971CE #C871CE #CE71A5
triadic
#C871CE #CEC871 #71CEC8
tetradic
#C871CE #CE9971 #77CE71 #71A5CE
square
#C871CE #CE9971 #77CE71 #71A5CE
split-complementary
#C871CE #A5CE71 #71CE99
monochromatic
#8C3292 #B644BE #C871CE #DA9EDE #EBCCED

Accessibility & contrast

On white

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

On black

6.71
#C871CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871CE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871CE#FFFFFF#000000##000000
##C871CE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#CC7B96
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c871ce;
/* rgb */ color: rgb(200, 113, 206);
/* oklch */ color: oklch(67.8% 0.161 324.8);
Tailwind
colors: {
  custom: {
    50: '#da9cdd',
    500: '#c871ce',
    950: '#000000',
  },
}
SCSS
$custom: #c871ce;
$custom-light: #da9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ce",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 296.129,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.16113,
    "h": 324.8
  },
  "luminance": 0.28546
}

Semantic roles & 50–950 ramp

primary
#C871CE
secondary
#BFDEBC
accent
#BC2A33
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871CE

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

Preview Lab → · Contrast checker → · Palette generator →

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