#C873E7#C873E7

#C873E7 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.3% C 0.183 H 316.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C873E7
RGBrgb(200, 115, 231)
HSLhsl(284, 71%, 68%)
HSVhsv(284, 50%, 91%)
CMYKcmyk(13.4%, 50.2%, 0%, 9.4%)
CIE-LABlab(61.92, 52.00, -45.44)
CIE-LCHlch(61.92, 69.06, 318.85°)
OKLaboklab(69.34% 0.1325 -0.1263)
OKLCHoklch(69.34% 0.183 316.4)
XYZxyz(44.3718, 30.3117, 79.0992)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873E7 #92E773
analogous
#8E73E7 #C873E7 #E773CC
triadic
#C873E7 #E7C873 #73E7C8
tetradic
#C873E7 #E78E73 #92E773 #73CCE7
square
#C873E7 #E78E73 #92E773 #73CCE7
split-complementary
#C873E7 #CCE773 #73E78E
monochromatic
#9521BF #B33FDE #C873E7 #DDA7F0 #F1DBF9

Accessibility & contrast

On white

2.97
#C873E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C873E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873E7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873E7#FFFFFF#000000##000000
##C873E71.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#7598E4
Tritanopia (blue-blind)
#C784A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c873e7;
/* rgb */ color: rgb(200, 115, 231);
/* oklch */ color: oklch(69.3% 0.183 316.4);
Tailwind
colors: {
  custom: {
    50: '#db9eef',
    500: '#c873e7',
    950: '#000000',
  },
}
SCSS
$custom: #c873e7;
$custom-light: #db9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#c873e7",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 283.966,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69339,
    "c": 0.18309,
    "h": 316.4
  },
  "luminance": 0.3031
}

Semantic roles & 50–950 ramp

primary
#C873E7
secondary
#D3EDC9
accent
#D31346
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873E7

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

Preview Lab → · Contrast checker → · Palette generator →

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