#C871DA#C871DA

#C871DA is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.4% C 0.173 H 320.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#C871DA
RGBrgb(200, 113, 218)
HSLhsl(290, 59%, 65%)
HSVhsv(290, 48%, 85%)
CMYKcmyk(8.3%, 48.2%, 0%, 14.5%)
CIE-LABlab(60.92, 50.44, -39.76)
CIE-LCHlch(60.92, 64.23, 321.75°)
OKLaboklab(68.39% 0.1336 -0.1099)
OKLCHoklch(68.39% 0.173 320.6)
XYZxyz(42.3779, 29.1532, 69.7109)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871DA #83DA71
analogous
#9371DA #C871DA #DA71B8
triadic
#C871DA #DAC871 #71DAC8
tetradic
#C871DA #DA9371 #83DA71 #71B8DA
square
#C871DA #DA9371 #83DA71 #71B8DA
split-complementary
#C871DA #B8DA71 #71DA93
monochromatic
#912BA5 #B540CD #C871DA #DBA2E7 #EED2F3

Accessibility & contrast

On white

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

On black

6.83
#C871DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871DA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871DA#FFFFFF#000000##000000
##C871DA1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#7A96D7
Tritanopia (blue-blind)
#C97F9B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c871da;
/* rgb */ color: rgb(200, 113, 218);
/* oklch */ color: oklch(68.4% 0.173 320.6);
Tailwind
colors: {
  custom: {
    50: '#db9ce6',
    500: '#c871da',
    950: '#000000',
  },
}
SCSS
$custom: #c871da;
$custom-light: #db9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#c871da",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 289.714,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68394,
    "c": 0.17299,
    "h": 320.6
  },
  "luminance": 0.29152
}

Semantic roles & 50–950 ramp

primary
#C871DA
secondary
#C8E5C1
accent
#C61F3C
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C871DA

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

Preview Lab → · Contrast checker → · Palette generator →

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