#C873DE#C873DE

#C873DE is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.174 H 319.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#C873DE
RGBrgb(200, 115, 222)
HSLhsl(288, 62%, 66%)
HSVhsv(288, 48%, 87%)
CMYKcmyk(9.9%, 48.2%, 0%, 12.9%)
CIE-LABlab(61.50, 50.20, -41.09)
CIE-LCHlch(61.50, 64.88, 320.70°)
OKLaboklab(68.88% 0.1314 -0.1138)
OKLCHoklch(68.88% 0.174 319.1)
XYZxyz(43.1332, 29.8163, 72.5761)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873DE #89DE73
analogous
#9273DE #C873DE #DE73BE
triadic
#C873DE #DEC873 #73DEC8
tetradic
#C873DE #DE9273 #89DE73 #73BEDE
square
#C873DE #DE9273 #89DE73 #73BEDE
split-complementary
#C873DE #BEDE73 #73DE92
monochromatic
#9229AE #B541D2 #C873DE #DBA5EA #EFD6F5

Accessibility & contrast

On white

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

On black

6.96
#C873DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C873DE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873DE#FFFFFF#000000##000000
##C873DE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE2
Deuteranopia (green-blind)
#7A97DB
Tritanopia (blue-blind)
#C9829E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c873de;
/* rgb */ color: rgb(200, 115, 222);
/* oklch */ color: oklch(68.9% 0.174 319.1);
Tailwind
colors: {
  custom: {
    50: '#db9ee8',
    500: '#c873de',
    950: '#000000',
  },
}
SCSS
$custom: #c873de;
$custom-light: #db9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#c873de",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 287.664,
    "s": 61.85,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.17379,
    "h": 319.1
  },
  "luminance": 0.29815
}

Semantic roles & 50–950 ramp

primary
#C873DE
secondary
#CCE8C5
accent
#CA1C40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873DE

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

Preview Lab → · Contrast checker → · Palette generator →

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