#C871DD#C871DD

#C871DD is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.5% C 0.176 H 319.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#C871DD
RGBrgb(200, 113, 221)
HSLhsl(288, 61%, 65%)
HSVhsv(288, 49%, 87%)
CMYKcmyk(9.5%, 48.9%, 0%, 13.3%)
CIE-LABlab(61.06, 51.03, -41.22)
CIE-LCHlch(61.06, 65.60, 321.07°)
OKLaboklab(68.54% 0.134 -0.1141)
OKLCHoklch(68.54% 0.176 319.6)
XYZxyz(42.7740, 29.3117, 71.7972)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871DD #86DD71
analogous
#9271DD #C871DD #DD71BC
triadic
#C871DD #DDC871 #71DDC8
tetradic
#C871DD #DD9271 #86DD71 #71BCDD
square
#C871DD #DD9271 #86DD71 #71BCDD
split-complementary
#C871DD #BCDD71 #71DD92
monochromatic
#9129AB #B540D1 #C871DD #DBA2E9 #EED4F5

Accessibility & contrast

On white

3.06
#C871DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#C871DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871DD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871DD#FFFFFF#000000##000000
##C871DD1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE1
Deuteranopia (green-blind)
#7896DA
Tritanopia (blue-blind)
#C9809D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c871dd;
/* rgb */ color: rgb(200, 113, 221);
/* oklch */ color: oklch(68.5% 0.176 319.6);
Tailwind
colors: {
  custom: {
    50: '#db9ce8',
    500: '#c871dd',
    950: '#000000',
  },
}
SCSS
$custom: #c871dd;
$custom-light: #db9ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#c871dd",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 288.333,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68543,
    "c": 0.17601,
    "h": 319.6
  },
  "luminance": 0.2931
}

Semantic roles & 50–950 ramp

primary
#C871DD
secondary
#CAE7C3
accent
#C91C3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C871DD

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

Preview Lab → · Contrast checker → · Palette generator →

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