#C871CD#C871CD

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

Color values

HEX#C871CD
RGBrgb(200, 113, 205)
HSLhsl(297, 48%, 62%)
HSVhsv(297, 45%, 80%)
CMYKcmyk(2.4%, 44.9%, 0%, 19.6%)
CIE-LABlab(60.34, 47.96, -33.35)
CIE-LCHlch(60.34, 58.42, 325.19°)
OKLaboklab(67.77% 0.1315 -0.0915)
OKLCHoklch(67.77% 0.16 325.2)
XYZxyz(40.7430, 28.4993, 61.1006)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871CD #76CD71
analogous
#9A71CD #C871CD #CD71A4
triadic
#C871CD #CDC871 #71CDC8
tetradic
#C871CD #CD9A71 #76CD71 #71A4CD
square
#C871CD #CD9A71 #76CD71 #71A4CD
split-complementary
#C871CD #A4CD71 #71CD9A
monochromatic
#8C3391 #B644BD #C871CD #DA9EDD #EBCCED

Accessibility & contrast

On white

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

On black

6.70
#C871CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871CD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871CD#FFFFFF#000000##000000
##C871CD1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD0
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#CC7B95
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c871cd;
/* rgb */ color: rgb(200, 113, 205);
/* oklch */ color: oklch(67.8% 0.160 325.2);
Tailwind
colors: {
  custom: {
    50: '#da9cdc',
    500: '#c871cd',
    950: '#000000',
  },
}
SCSS
$custom: #c871cd;
$custom-light: #da9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c871cd",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 296.739,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67774,
    "c": 0.16017,
    "h": 325.2
  },
  "luminance": 0.28497
}

Semantic roles & 50–950 ramp

primary
#C871CD
secondary
#BEDEBC
accent
#BB2A32
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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