#C873EF#C873EF

#C873EF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.191 H 314.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C873EF
RGBrgb(200, 115, 239)
HSLhsl(281, 79%, 69%)
HSVhsv(281, 52%, 94%)
CMYKcmyk(16.3%, 51.9%, 0%, 6.3%)
CIE-LABlab(62.32, 53.64, -49.26)
CIE-LCHlch(62.32, 72.83, 317.44°)
OKLaboklab(69.76% 0.1333 -0.1374)
OKLCHoklch(69.76% 0.191 314.1)
XYZxyz(45.5276, 30.7741, 85.1863)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873EF #9AEF73
analogous
#8A73EF #C873EF #EF73D8
triadic
#C873EF #EFC873 #73EFC8
tetradic
#C873EF #EF8A73 #9AEF73 #73D8EF
square
#C873EF #EF8A73 #9AEF73 #73D8EF
split-complementary
#C873EF #D8EF73 #73EF8A
monochromatic
#9618D0 #B23CE9 #C873EF #DEAAF5 #F3E1FC

Accessibility & contrast

On white

2.94
#C873EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C873EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873EF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873EF#FFFFFF#000000##000000
##C873EF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#C587A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c873ef;
/* rgb */ color: rgb(200, 115, 239);
/* oklch */ color: oklch(69.8% 0.191 314.1);
Tailwind
colors: {
  custom: {
    50: '#db9ef5',
    500: '#c873ef',
    950: '#000000',
  },
}
SCSS
$custom: #c873ef;
$custom-light: #db9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c873ef",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 281.129,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69759,
    "c": 0.19147,
    "h": 314.1
  },
  "luminance": 0.30773
}

Semantic roles & 50–950 ramp

primary
#C873EF
secondary
#D8F1CD
accent
#DC0A4C
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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