#C873DF#C873DF

#C873DF is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.175 H 318.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C873DF
RGBrgb(200, 115, 223)
HSLhsl(287, 63%, 66%)
HSVhsv(287, 48%, 87%)
CMYKcmyk(10.3%, 48.4%, 0%, 12.5%)
CIE-LABlab(61.54, 50.40, -41.58)
CIE-LCHlch(61.54, 65.34, 320.48°)
OKLaboklab(68.93% 0.1315 -0.1152)
OKLCHoklch(68.93% 0.175 318.8)
XYZxyz(43.2677, 29.8701, 73.2841)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873DF #8ADF73
analogous
#9273DF #C873DF #DF73C0
triadic
#C873DF #DFC873 #73DFC8
tetradic
#C873DF #DF9273 #8ADF73 #73C0DF
square
#C873DF #DF9273 #8ADF73 #73C0DF
split-complementary
#C873DF #C0DF73 #73DF92
monochromatic
#9328AF #B441D4 #C873DF #DCA5EA #EFD7F6

Accessibility & contrast

On white

3.01
#C873DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C873DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873DF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873DF#FFFFFF#000000##000000
##C873DF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE3
Deuteranopia (green-blind)
#7998DC
Tritanopia (blue-blind)
#C8829F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c873df;
/* rgb */ color: rgb(200, 115, 223);
/* oklch */ color: oklch(68.9% 0.175 318.8);
Tailwind
colors: {
  custom: {
    50: '#db9ee9',
    500: '#c873df',
    950: '#000000',
  },
}
SCSS
$custom: #c873df;
$custom-light: #db9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#c873df",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 287.222,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68934,
    "c": 0.17481,
    "h": 318.8
  },
  "luminance": 0.29869
}

Semantic roles & 50–950 ramp

primary
#C873DF
secondary
#CDE9C5
accent
#CB1B40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873DF

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

Preview Lab → · Contrast checker → · Palette generator →

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