#C871CB#C871CB

#C871CB is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.7% C 0.158 H 325.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#C871CB
RGBrgb(200, 113, 203)
HSLhsl(298, 46%, 62%)
HSVhsv(298, 44%, 80%)
CMYKcmyk(1.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(60.25, 47.59, -32.35)
CIE-LCHlch(60.25, 57.55, 325.79°)
OKLaboklab(67.68% 0.1311 -0.0886)
OKLCHoklch(67.68% 0.158 325.9)
XYZxyz(40.5032, 28.4033, 59.8373)
Luminance0.2840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871CB #74CB71
analogous
#9B71CB #C871CB #CB71A1
triadic
#C871CB #CBC871 #71CBC8
tetradic
#C871CB #CB9B71 #74CB71 #71A1CB
square
#C871CB #CB9B71 #74CB71 #71A1CB
split-complementary
#C871CB #A1CB71 #71CB9B
monochromatic
#8B348E #B744BB #C871CB #D99EDB #EBCBEC

Accessibility & contrast

On white

3.14
#C871CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#C871CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871CB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871CB#FFFFFF#000000##000000
##C871CB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#CC7B95
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c871cb;
/* rgb */ color: rgb(200, 113, 203);
/* oklch */ color: oklch(67.7% 0.158 325.9);
Tailwind
colors: {
  custom: {
    50: '#da9cdb',
    500: '#c871cb',
    950: '#000000',
  },
}
SCSS
$custom: #c871cb;
$custom-light: #da9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c871cb",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 298,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.15825,
    "h": 325.9
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

primary
#C871CB
secondary
#BCDCBB
accent
#BA2C31
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C871CB

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

Preview Lab → · Contrast checker → · Palette generator →

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