#C873EC#C873EC

#C873EC is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.188 H 314.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C873EC
RGBrgb(200, 115, 236)
HSLhsl(282, 76%, 69%)
HSVhsv(282, 51%, 93%)
CMYKcmyk(15.3%, 51.3%, 0%, 7.5%)
CIE-LABlab(62.17, 53.03, -47.83)
CIE-LCHlch(62.17, 71.41, 317.95°)
OKLaboklab(69.6% 0.133 -0.1333)
OKLCHoklch(69.6% 0.188 314.9)
XYZxyz(45.0881, 30.5983, 82.8715)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873EC #97EC73
analogous
#8C73EC #C873EC #EC73D4
triadic
#C873EC #ECC873 #73ECC8
tetradic
#C873EC #EC8C73 #97EC73 #73D4EC
square
#C873EC #EC8C73 #97EC73 #73D4EC
split-complementary
#C873EC #D4EC73 #73EC8C
monochromatic
#961BC9 #B33DE5 #C873EC #DDA9F3 #F2DFFB

Accessibility & contrast

On white

2.95
#C873EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C873EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873EC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873EC#FFFFFF#000000##000000
##C873EC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#7299E9
Tritanopia (blue-blind)
#C686A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c873ec;
/* rgb */ color: rgb(200, 115, 236);
/* oklch */ color: oklch(69.6% 0.188 314.9);
Tailwind
colors: {
  custom: {
    50: '#db9ef2',
    500: '#c873ec',
    950: '#000000',
  },
}
SCSS
$custom: #c873ec;
$custom-light: #db9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c873ec",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 282.149,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.696,
    "c": 0.18832,
    "h": 314.9
  },
  "luminance": 0.30597
}

Semantic roles & 50–950 ramp

primary
#C873EC
secondary
#D6EFCC
accent
#D80D4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873EC

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

Preview Lab → · Contrast checker → · Palette generator →

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