#C873EB#C873EB

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

Color values

HEX#C873EB
RGBrgb(200, 115, 235)
HSLhsl(283, 75%, 69%)
HSVhsv(283, 51%, 92%)
CMYKcmyk(14.9%, 51.1%, 0%, 7.8%)
CIE-LABlab(62.12, 52.82, -47.36)
CIE-LCHlch(62.12, 70.94, 318.12°)
OKLaboklab(69.55% 0.1329 -0.1319)
OKLCHoklch(69.55% 0.187 315.2)
XYZxyz(44.9432, 30.5403, 82.1085)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873EB #96EB73
analogous
#8C73EB #C873EB #EB73D2
triadic
#C873EB #EBC873 #73EBC8
tetradic
#C873EB #EB8C73 #96EB73 #73D2EB
square
#C873EB #EB8C73 #96EB73 #73D2EB
split-complementary
#C873EB #D2EB73 #73EB8C
monochromatic
#951CC7 #B33DE3 #C873EB #DDA9F3 #F2DEFA

Accessibility & contrast

On white

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

On black

7.11
#C873EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873EB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873EB#FFFFFF#000000##000000
##C873EB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#C686A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c873eb;
/* rgb */ color: rgb(200, 115, 235);
/* oklch */ color: oklch(69.5% 0.187 315.2);
Tailwind
colors: {
  custom: {
    50: '#db9ef2',
    500: '#c873eb',
    950: '#000000',
  },
}
SCSS
$custom: #c873eb;
$custom-light: #db9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c873eb",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 282.5,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69547,
    "c": 0.18727,
    "h": 315.2
  },
  "luminance": 0.30539
}

Semantic roles & 50–950 ramp

primary
#C873EB
secondary
#D5EFCB
accent
#D70E49
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873EB

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

Preview Lab → · Contrast checker → · Palette generator →

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