#873CA5#873CA5

#873CA5 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.2% C 0.171 H 315.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#873CA5
RGBrgb(135, 60, 165)
HSLhsl(283, 47%, 44%)
HSVhsv(283, 64%, 65%)
CMYKcmyk(18.2%, 63.6%, 0%, 35.3%)
CIE-LABlab(39.75, 48.94, -43.15)
CIE-LCHlch(39.75, 65.25, 318.60°)
OKLaboklab(50.17% 0.121 -0.1211)
OKLCHoklch(50.17% 0.171 315)
XYZxyz(18.3980, 11.0998, 36.7634)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CA5 #5AA53C
analogous
#533CA5 #873CA5 #A53C8F
triadic
#873CA5 #A5873C #3CA587
tetradic
#873CA5 #A5533C #5AA53C #3C8FA5
square
#873CA5 #A5533C #5AA53C #3C8FA5
split-complementary
#873CA5 #8FA53C #3CA553
monochromatic
#3E1B4B #622C78 #873CA5 #A55BC3 #BE88D4

Accessibility & contrast

On white

6.52
#873CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#873CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CA5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CA5#FFFFFF#000000##FFFFFF
##873CA51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#3A60A2
Tritanopia (blue-blind)
#854F6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #873ca5;
/* rgb */ color: rgb(135, 60, 165);
/* oklch */ color: oklch(50.2% 0.171 315.0);
Tailwind
colors: {
  custom: {
    50: '#ad77c0',
    500: '#873ca5',
    950: '#000000',
  },
}
SCSS
$custom: #873ca5;
$custom-light: #ad77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#873ca5",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 282.857,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.17116,
    "h": 315
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#873CA5
secondary
#91BE7F
accent
#D65177
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #873CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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