#C871CC#C871CC

#C871CC is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.7% C 0.159 H 325.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#C871CC
RGBrgb(200, 113, 204)
HSLhsl(297, 47%, 62%)
HSVhsv(297, 45%, 80%)
CMYKcmyk(2%, 44.6%, 0%, 20%)
CIE-LABlab(60.29, 47.77, -32.85)
CIE-LCHlch(60.29, 57.98, 325.49°)
OKLaboklab(67.73% 0.1313 -0.0901)
OKLCHoklch(67.73% 0.159 325.5)
XYZxyz(40.6227, 28.4512, 60.4669)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871CC #75CC71
analogous
#9B71CC #C871CC #CC71A2
triadic
#C871CC #CCC871 #71CCC8
tetradic
#C871CC #CC9B71 #75CC71 #71A2CC
square
#C871CC #CC9B71 #75CC71 #71A2CC
split-complementary
#C871CC #A2CC71 #71CC9B
monochromatic
#8B338F #B744BC #C871CC #D99EDC #EBCBEC

Accessibility & contrast

On white

3.14
#C871CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#C871CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871CC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871CC#FFFFFF#000000##000000
##C871CC1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#CC7B95
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c871cc;
/* rgb */ color: rgb(200, 113, 204);
/* oklch */ color: oklch(67.7% 0.159 325.5);
Tailwind
colors: {
  custom: {
    50: '#da9cdc',
    500: '#c871cc',
    950: '#000000',
  },
}
SCSS
$custom: #c871cc;
$custom-light: #da9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c871cc",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 297.363,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67728,
    "c": 0.1592,
    "h": 325.5
  },
  "luminance": 0.28449
}

Semantic roles & 50–950 ramp

primary
#C871CC
secondary
#BDDDBC
accent
#BA2B31
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871CC

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

Preview Lab → · Contrast checker → · Palette generator →

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