#C873CC#C873CC

#C873CC is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.0% C 0.156 H 325.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#C873CC
RGBrgb(200, 115, 204)
HSLhsl(297, 47%, 63%)
HSVhsv(297, 44%, 80%)
CMYKcmyk(2%, 43.6%, 0%, 20%)
CIE-LABlab(60.70, 46.74, -32.23)
CIE-LCHlch(60.70, 56.77, 325.41°)
OKLaboklab(68.03% 0.1284 -0.0883)
OKLCHoklch(68.03% 0.156 325.5)
XYZxyz(40.8483, 28.9023, 60.5421)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873CC #77CC73
analogous
#9B73CC #C873CC #CC73A4
triadic
#C873CC #CCC873 #73CCC8
tetradic
#C873CC #CC9B73 #77CC73 #73A4CC
square
#C873CC #CC9B73 #77CC73 #73A4CC
split-complementary
#C873CC #A4CC73 #73CC9B
monochromatic
#8C3490 #B646BC #C873CC #DAA0DC #EBCDED

Accessibility & contrast

On white

3.10
#C873CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#C873CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873CC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873CC#FFFFFF#000000##000000
##C873CC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CCF
Deuteranopia (green-blind)
#8296C9
Tritanopia (blue-blind)
#CC7D96
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c873cc;
/* rgb */ color: rgb(200, 115, 204);
/* oklch */ color: oklch(68.0% 0.156 325.5);
Tailwind
colors: {
  custom: {
    50: '#da9edc',
    500: '#c873cc',
    950: '#000000',
  },
}
SCSS
$custom: #c873cc;
$custom-light: #da9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#c873cc",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 297.303,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.15584,
    "h": 325.5
  },
  "luminance": 0.289
}

Semantic roles & 50–950 ramp

primary
#C873CC
secondary
#BFDEBD
accent
#BA2C32
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C873CC

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

Preview Lab → · Contrast checker → · Palette generator →

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