#C873EA#C873EA

#C873EA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.186 H 315.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#C873EA
RGBrgb(200, 115, 234)
HSLhsl(283, 74%, 68%)
HSVhsv(283, 51%, 92%)
CMYKcmyk(14.5%, 50.9%, 0%, 8.2%)
CIE-LABlab(62.07, 52.62, -46.88)
CIE-LCHlch(62.07, 70.47, 318.30°)
OKLaboklab(69.49% 0.1328 -0.1305)
OKLCHoklch(69.49% 0.186 315.5)
XYZxyz(44.7991, 30.4827, 81.3498)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873EA #95EA73
analogous
#8C73EA #C873EA #EA73D0
triadic
#C873EA #EAC873 #73EAC8
tetradic
#C873EA #EA8C73 #95EA73 #73D0EA
square
#C873EA #EA8C73 #95EA73 #73D0EA
split-complementary
#C873EA #D0EA73 #73EA8C
monochromatic
#951EC5 #B33EE2 #C873EA #DDA8F2 #F2DDFA

Accessibility & contrast

On white

2.96
#C873EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#C873EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873EA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873EA#FFFFFF#000000##000000
##C873EA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#7398E7
Tritanopia (blue-blind)
#C685A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c873ea;
/* rgb */ color: rgb(200, 115, 234);
/* oklch */ color: oklch(69.5% 0.186 315.5);
Tailwind
colors: {
  custom: {
    50: '#db9ef1',
    500: '#c873ea',
    950: '#000000',
  },
}
SCSS
$custom: #c873ea;
$custom-light: #db9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c873ea",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 282.857,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69495,
    "c": 0.18622,
    "h": 315.5
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

primary
#C873EA
secondary
#D5EECA
accent
#D60F48
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873EA

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

Preview Lab → · Contrast checker → · Palette generator →

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