#C873ED#C873ED

#C873ED is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.189 H 314.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C873ED
RGBrgb(200, 115, 237)
HSLhsl(282, 77%, 69%)
HSVhsv(282, 51%, 93%)
CMYKcmyk(15.6%, 51.5%, 0%, 7.1%)
CIE-LABlab(62.22, 53.23, -48.31)
CIE-LCHlch(62.22, 71.88, 317.77°)
OKLaboklab(69.65% 0.1331 -0.1347)
OKLCHoklch(69.65% 0.189 314.7)
XYZxyz(45.2338, 30.6565, 83.6388)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C873ED #98ED73
analogous
#8B73ED #C873ED #ED73D5
triadic
#C873ED #EDC873 #73EDC8
tetradic
#C873ED #ED8B73 #98ED73 #73D5ED
square
#C873ED #ED8B73 #98ED73 #73D5ED
split-complementary
#C873ED #D5ED73 #73ED8B
monochromatic
#961ACB #B33DE6 #C873ED #DDA9F4 #F3DFFB

Accessibility & contrast

On white

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

On black

7.13
#C873ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C873ED
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C873ED#FFFFFF#000000##000000
##C873ED1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#7199EA
Tritanopia (blue-blind)
#C586A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c873ed;
/* rgb */ color: rgb(200, 115, 237);
/* oklch */ color: oklch(69.7% 0.189 314.7);
Tailwind
colors: {
  custom: {
    50: '#db9ef3',
    500: '#c873ed',
    950: '#000000',
  },
}
SCSS
$custom: #c873ed;
$custom-light: #db9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c873ed",
  "rgb": {
    "r": 200,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 281.803,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69653,
    "c": 0.18937,
    "h": 314.7
  },
  "luminance": 0.30655
}

Semantic roles & 50–950 ramp

primary
#C873ED
secondary
#D7F0CC
accent
#D90C4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C873ED

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

Preview Lab → · Contrast checker → · Palette generator →

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