#C873DA#C873DA

#C873DA is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.170 H 320.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C873DA
RGBrgb(200, 115, 218)
HSLhsl(290, 58%, 65%)
HSVhsv(290, 47%, 85%)
CMYKcmyk(8.3%, 47.2%, 0%, 14.5%)
CIE-LABlab(61.31, 49.41, -39.14)
CIE-LCHlch(61.31, 63.04, 321.62°)
OKLaboklab(68.69% 0.1308 -0.1081)
OKLCHoklch(68.69% 0.17 320.4)
XYZxyz(42.6035, 29.6044, 69.7861)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873DA #85DA73
analogous
#9573DA #C873DA #DA73B8
triadic
#C873DA #DAC873 #73DAC8
tetradic
#C873DA #DA9573 #85DA73 #73B8DA
square
#C873DA #DA9573 #85DA73 #73B8DA
split-complementary
#C873DA #B8DA73 #73DA95
monochromatic
#912CA7 #B543CD #C873DA #DBA3E7 #EED4F4

Accessibility & contrast

On white

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

On black

6.92
#C873DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873DA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873DA#FFFFFF#000000##000000
##C873DA1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDE
Deuteranopia (green-blind)
#7C97D7
Tritanopia (blue-blind)
#C9819C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c873da;
/* rgb */ color: rgb(200, 115, 218);
/* oklch */ color: oklch(68.7% 0.170 320.4);
Tailwind
colors: {
  custom: {
    50: '#db9ee6',
    500: '#c873da',
    950: '#000000',
  },
}
SCSS
$custom: #c873da;
$custom-light: #db9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#c873da",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 289.515,
    "s": 58.192,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.16972,
    "h": 320.4
  },
  "luminance": 0.29603
}

Semantic roles & 50–950 ramp

primary
#C873DA
secondary
#C9E6C3
accent
#C6203D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873DA

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

Preview Lab → · Contrast checker → · Palette generator →

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