#873CAA#873CAA

#873CAA is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.176 H 313.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#873CAA
RGBrgb(135, 60, 170)
HSLhsl(281, 48%, 45%)
HSVhsv(281, 65%, 67%)
CMYKcmyk(20.6%, 64.7%, 0%, 33.3%)
CIE-LABlab(40.06, 50.02, -45.64)
CIE-LCHlch(40.06, 67.71, 317.62°)
OKLaboklab(50.49% 0.1208 -0.1284)
OKLCHoklch(50.49% 0.176 313.3)
XYZxyz(18.8620, 11.2854, 39.2071)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CAA #5FAA3C
analogous
#503CAA #873CAA #AA3C96
triadic
#873CAA #AA873C #3CAA87
tetradic
#873CAA #AA503C #5FAA3C #3C96AA
square
#873CAA #AA503C #5FAA3C #3C96AA
split-complementary
#873CAA #96AA3C #3CAA50
monochromatic
#3F1C50 #632C7D #873CAA #A55DC6 #BE8BD6

Accessibility & contrast

On white

6.45
#873CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#873CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CAA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CAA#FFFFFF#000000##FFFFFF
##873CAA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075AAD
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#84516E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #873caa;
/* rgb */ color: rgb(135, 60, 170);
/* oklch */ color: oklch(50.5% 0.176 313.3);
Tailwind
colors: {
  custom: {
    50: '#ad77c4',
    500: '#873caa',
    950: '#000000',
  },
}
SCSS
$custom: #873caa;
$custom-light: #ad77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#873caa",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 280.909,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.17629,
    "h": 313.3
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#873CAA
secondary
#95C081
accent
#D7507B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #873CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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