#C871CA#C871CA

#C871CA is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.6% C 0.157 H 326.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#C871CA
RGBrgb(200, 113, 202)
HSLhsl(299, 46%, 62%)
HSVhsv(299, 44%, 79%)
CMYKcmyk(1%, 44.1%, 0%, 20.8%)
CIE-LABlab(60.21, 47.40, -31.85)
CIE-LCHlch(60.21, 57.11, 326.10°)
OKLaboklab(67.64% 0.1309 -0.0872)
OKLCHoklch(67.64% 0.157 326.3)
XYZxyz(40.3844, 28.3558, 59.2117)
Luminance0.2835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871CA #73CA71
analogous
#9C71CA #C871CA #CA71A0
triadic
#C871CA #CAC871 #71CAC8
tetradic
#C871CA #CA9C71 #73CA71 #71A0CA
square
#C871CA #CA9C71 #73CA71 #71A0CA
split-complementary
#C871CA #A0CA71 #71CA9C
monochromatic
#8A348C #B645B9 #C871CA #D99EDB #EBCAEB

Accessibility & contrast

On white

3.15
#C871CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#C871CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871CA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871CA#FFFFFF#000000##000000
##C871CA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#8195C7
Tritanopia (blue-blind)
#CC7A94
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c871ca;
/* rgb */ color: rgb(200, 113, 202);
/* oklch */ color: oklch(67.6% 0.157 326.3);
Tailwind
colors: {
  custom: {
    50: '#da9cda',
    500: '#c871ca',
    950: '#000000',
  },
}
SCSS
$custom: #c871ca;
$custom-light: #da9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ca",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 298.652,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67636,
    "c": 0.1573,
    "h": 326.3
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

primary
#C871CA
secondary
#BCDCBB
accent
#B92D30
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871CA

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

Preview Lab → · Contrast checker → · Palette generator →

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