#C871DC#C871DC

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

Color values

HEX#C871DC
RGBrgb(200, 113, 220)
HSLhsl(289, 60%, 65%)
HSVhsv(289, 49%, 86%)
CMYKcmyk(9.1%, 48.6%, 0%, 13.7%)
CIE-LABlab(61.01, 50.83, -40.74)
CIE-LCHlch(61.01, 65.14, 321.29°)
OKLaboklab(68.49% 0.1339 -0.1127)
OKLCHoklch(68.49% 0.175 319.9)
XYZxyz(42.6412, 29.2586, 71.0976)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871DC #85DC71
analogous
#9271DC #C871DC #DC71BA
triadic
#C871DC #DCC871 #71DCC8
tetradic
#C871DC #DC9271 #85DC71 #71BADC
square
#C871DC #DC9271 #85DC71 #71BADC
split-complementary
#C871DC #BADC71 #71DC92
monochromatic
#912AA9 #B540D0 #C871DC #DBA2E8 #EED3F4

Accessibility & contrast

On white

3.07
#C871DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#C871DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871DC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871DC#FFFFFF#000000##000000
##C871DC1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#7996D9
Tritanopia (blue-blind)
#C9809C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c871dc;
/* rgb */ color: rgb(200, 113, 220);
/* oklch */ color: oklch(68.5% 0.175 319.9);
Tailwind
colors: {
  custom: {
    50: '#db9ce7',
    500: '#c871dc',
    950: '#000000',
  },
}
SCSS
$custom: #c871dc;
$custom-light: #db9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#c871dc",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 288.785,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68493,
    "c": 0.17501,
    "h": 319.9
  },
  "luminance": 0.29257
}

Semantic roles & 50–950 ramp

primary
#C871DC
secondary
#C9E6C2
accent
#C81D3D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C871DC

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

Preview Lab → · Contrast checker → · Palette generator →

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