#C873DD#C873DD

#C873DD is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.8% C 0.173 H 319.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#C873DD
RGBrgb(200, 115, 221)
HSLhsl(288, 61%, 66%)
HSVhsv(288, 48%, 87%)
CMYKcmyk(9.5%, 48%, 0%, 13.3%)
CIE-LABlab(61.45, 50.00, -40.61)
CIE-LCHlch(61.45, 64.41, 320.92°)
OKLaboklab(68.83% 0.1313 -0.1123)
OKLCHoklch(68.83% 0.173 319.4)
XYZxyz(42.9996, 29.7629, 71.8724)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873DD #88DD73
analogous
#9373DD #C873DD #DD73BD
triadic
#C873DD #DDC873 #73DDC8
tetradic
#C873DD #DD9373 #88DD73 #73BDDD
square
#C873DD #DD9373 #88DD73 #73BDDD
split-complementary
#C873DD #BDDD73 #73DD93
monochromatic
#922AAC #B542D1 #C873DD #DBA4E9 #EFD5F5

Accessibility & contrast

On white

3.02
#C873DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#C873DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873DD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873DD#FFFFFF#000000##000000
##C873DD1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE1
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#C9819E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c873dd;
/* rgb */ color: rgb(200, 115, 221);
/* oklch */ color: oklch(68.8% 0.173 319.4);
Tailwind
colors: {
  custom: {
    50: '#db9ee8',
    500: '#c873dd',
    950: '#000000',
  },
}
SCSS
$custom: #c873dd;
$custom-light: #db9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#c873dd",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 288.113,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68834,
    "c": 0.17277,
    "h": 319.4
  },
  "luminance": 0.29761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C873DD

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

Preview Lab → · Contrast checker → · Palette generator →

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