#C873E8#C873E8

#C873E8 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.4% C 0.184 H 316.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C873E8
RGBrgb(200, 115, 232)
HSLhsl(284, 72%, 68%)
HSVhsv(284, 50%, 91%)
CMYKcmyk(13.8%, 50.4%, 0%, 9%)
CIE-LABlab(61.97, 52.21, -45.92)
CIE-LCHlch(61.97, 69.53, 318.66°)
OKLaboklab(69.39% 0.1326 -0.1277)
OKLCHoklch(69.39% 0.184 316.1)
XYZxyz(44.5134, 30.3684, 79.8451)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873E8 #93E873
analogous
#8D73E8 #C873E8 #E873CD
triadic
#C873E8 #E8C873 #73E8C8
tetradic
#C873E8 #E88D73 #93E873 #73CDE8
square
#C873E8 #E88D73 #93E873 #73CDE8
split-complementary
#C873E8 #CDE873 #73E88D
monochromatic
#9520C1 #B33EDF #C873E8 #DDA8F1 #F1DCF9

Accessibility & contrast

On white

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

On black

7.07
#C873E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873E8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873E8#FFFFFF#000000##000000
##C873E81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#7498E5
Tritanopia (blue-blind)
#C685A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c873e8;
/* rgb */ color: rgb(200, 115, 232);
/* oklch */ color: oklch(69.4% 0.184 316.1);
Tailwind
colors: {
  custom: {
    50: '#db9ef0',
    500: '#c873e8',
    950: '#000000',
  },
}
SCSS
$custom: #c873e8;
$custom-light: #db9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#c873e8",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 283.59,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69391,
    "c": 0.18413,
    "h": 316.1
  },
  "luminance": 0.30367
}

Semantic roles & 50–950 ramp

primary
#C873E8
secondary
#D3EDCA
accent
#D41247
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #C873E8

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

Preview Lab → · Contrast checker → · Palette generator →

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