#C873DC#C873DC

#C873DC is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.8% C 0.172 H 319.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#C873DC
RGBrgb(200, 115, 220)
HSLhsl(289, 60%, 66%)
HSVhsv(289, 48%, 86%)
CMYKcmyk(9.1%, 47.7%, 0%, 13.7%)
CIE-LABlab(61.40, 49.81, -40.12)
CIE-LCHlch(61.40, 63.96, 321.15°)
OKLaboklab(68.79% 0.1311 -0.1109)
OKLCHoklch(68.79% 0.172 319.8)
XYZxyz(42.8668, 29.7097, 71.1728)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873DC #87DC73
analogous
#9373DC #C873DC #DC73BC
triadic
#C873DC #DCC873 #73DCC8
tetradic
#C873DC #DC9373 #87DC73 #73BCDC
square
#C873DC #DC9373 #87DC73 #73BCDC
split-complementary
#C873DC #BCDC73 #73DC93
monochromatic
#922BAA #B542D0 #C873DC #DBA4E8 #EED5F4

Accessibility & contrast

On white

3.03
#C873DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#C873DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873DC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873DC#FFFFFF#000000##000000
##C873DC1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EE0
Deuteranopia (green-blind)
#7B97D9
Tritanopia (blue-blind)
#C9819D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c873dc;
/* rgb */ color: rgb(200, 115, 220);
/* oklch */ color: oklch(68.8% 0.172 319.8);
Tailwind
colors: {
  custom: {
    50: '#db9ee7',
    500: '#c873dc',
    950: '#000000',
  },
}
SCSS
$custom: #c873dc;
$custom-light: #db9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#c873dc",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 288.571,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.17175,
    "h": 319.8
  },
  "luminance": 0.29708
}

Semantic roles & 50–950 ramp

primary
#C873DC
secondary
#CBE7C4
accent
#C81E3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873DC

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

Preview Lab → · Contrast checker → · Palette generator →

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