#C871D0#C871D0

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

Color values

HEX#C871D0
RGBrgb(200, 113, 208)
HSLhsl(295, 50%, 63%)
HSVhsv(295, 46%, 82%)
CMYKcmyk(3.8%, 45.7%, 0%, 18.4%)
CIE-LABlab(60.47, 48.52, -34.84)
CIE-LCHlch(60.47, 59.74, 324.32°)
OKLaboklab(67.91% 0.132 -0.0957)
OKLCHoklch(67.91% 0.163 324)
XYZxyz(41.1086, 28.6455, 63.0260)
Luminance0.2864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871D0 #79D071
analogous
#9871D0 #C871D0 #D071A9
triadic
#C871D0 #D0C871 #71D0C8
tetradic
#C871D0 #D09871 #79D071 #71A9D0
square
#C871D0 #D09871 #79D071 #71A9D0
split-complementary
#C871D0 #A9D071 #71D098
monochromatic
#8D3195 #B643C1 #C871D0 #DA9FDF #ECCDEE

Accessibility & contrast

On white

3.12
#C871D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#C871D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871D0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871D0#FFFFFF#000000##000000
##C871D01.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD3
Deuteranopia (green-blind)
#7F95CD
Tritanopia (blue-blind)
#CB7C97
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c871d0;
/* rgb */ color: rgb(200, 113, 208);
/* oklch */ color: oklch(67.9% 0.163 324.0);
Tailwind
colors: {
  custom: {
    50: '#da9cde',
    500: '#c871d0',
    950: '#000000',
  },
}
SCSS
$custom: #c871d0;
$custom-light: #da9cde;
$custom-dark: #000000;
JSON
{
  "hex": "#c871d0",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 294.947,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67914,
    "c": 0.16307,
    "h": 324
  },
  "luminance": 0.28644
}

Semantic roles & 50–950 ramp

primary
#C871D0
secondary
#C0DFBD
accent
#BE2834
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871D0

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

Preview Lab → · Contrast checker → · Palette generator →

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