#873CA2#873CA2

#873CA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.0% C 0.168 H 316.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#873CA2
RGBrgb(135, 60, 162)
HSLhsl(284, 46%, 44%)
HSVhsv(284, 63%, 64%)
CMYKcmyk(16.7%, 63%, 0%, 36.5%)
CIE-LABlab(39.57, 48.30, -41.64)
CIE-LCHlch(39.57, 63.77, 319.23°)
OKLaboklab(49.98% 0.121 -0.1167)
OKLCHoklch(49.98% 0.168 316)
XYZxyz(18.1281, 10.9919, 35.3421)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CA2 #57A23C
analogous
#543CA2 #873CA2 #A23C8A
triadic
#873CA2 #A2873C #3CA287
tetradic
#873CA2 #A2543C #57A23C #3C8AA2
square
#873CA2 #A2543C #57A23C #3C8AA2
split-complementary
#873CA2 #8AA23C #3CA254
monochromatic
#3D1B49 #622B75 #873CA2 #A659C2 #BE86D2

Accessibility & contrast

On white

6.57
#873CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#873CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CA2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CA2#FFFFFF#000000##FFFFFF
##873CA21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#3C5FA0
Tritanopia (blue-blind)
#854E69
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #873ca2;
/* rgb */ color: rgb(135, 60, 162);
/* oklch */ color: oklch(50.0% 0.168 316.0);
Tailwind
colors: {
  custom: {
    50: '#ad76be',
    500: '#873ca2',
    950: '#000000',
  },
}
SCSS
$custom: #873ca2;
$custom-light: #ad76be;
$custom-dark: #000000;
JSON
{
  "hex": "#873ca2",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 284.118,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.16809,
    "h": 316
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#873CA2
secondary
#8EBC7D
accent
#D65275
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #873CA2

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

Preview Lab → · Contrast checker → · Palette generator →

#873CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva