#C871D7#C871D7

#C871D7 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.2% C 0.170 H 321.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#C871D7
RGBrgb(200, 113, 215)
HSLhsl(291, 56%, 64%)
HSVhsv(291, 47%, 84%)
CMYKcmyk(7%, 47.4%, 0%, 15.7%)
CIE-LABlab(60.78, 49.86, -38.29)
CIE-LCHlch(60.78, 62.87, 322.48°)
OKLaboklab(68.25% 0.1331 -0.1057)
OKLCHoklch(68.25% 0.17 321.6)
XYZxyz(41.9889, 28.9976, 67.6621)
Luminance0.2900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871D7 #80D771
analogous
#9571D7 #C871D7 #D771B3
triadic
#C871D7 #D7C871 #71D7C8
tetradic
#C871D7 #D79571 #80D771 #71B3D7
square
#C871D7 #D79571 #80D771 #71B3D7
split-complementary
#C871D7 #B3D771 #71D795
monochromatic
#8F2DA0 #B641CA #C871D7 #DAA1E4 #EDD0F2

Accessibility & contrast

On white

3.09
#C871D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#C871D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871D7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871D7#FFFFFF#000000##000000
##C871D71.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#7B96D4
Tritanopia (blue-blind)
#CA7E9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c871d7;
/* rgb */ color: rgb(200, 113, 215);
/* oklch */ color: oklch(68.2% 0.170 321.6);
Tailwind
colors: {
  custom: {
    50: '#db9ce3',
    500: '#c871d7',
    950: '#000000',
  },
}
SCSS
$custom: #c871d7;
$custom-light: #db9ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#c871d7",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 291.176,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68248,
    "c": 0.16998,
    "h": 321.6
  },
  "luminance": 0.28996
}

Semantic roles & 50–950 ramp

primary
#C871D7
secondary
#C5E4C0
accent
#C4223A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871D7

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

Preview Lab → · Contrast checker → · Palette generator →

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