#873CA1#873CA1

#873CA1 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.9% C 0.167 H 316.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#873CA1
RGBrgb(135, 60, 161)
HSLhsl(285, 46%, 43%)
HSVhsv(285, 63%, 63%)
CMYKcmyk(16.1%, 62.7%, 0%, 36.9%)
CIE-LABlab(39.51, 48.09, -41.14)
CIE-LCHlch(39.51, 63.28, 319.45°)
OKLaboklab(49.92% 0.121 -0.1152)
OKLCHoklch(49.92% 0.167 316.4)
XYZxyz(18.0396, 10.9565, 34.8759)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CA1 #56A13C
analogous
#543CA1 #873CA1 #A13C88
triadic
#873CA1 #A1873C #3CA187
tetradic
#873CA1 #A1543C #56A13C #3C88A1
square
#873CA1 #A1543C #56A13C #3C88A1
split-complementary
#873CA1 #88A13C #3CA154
monochromatic
#3C1B48 #622B74 #873CA1 #A659C1 #BE86D2

Accessibility & contrast

On white

6.58
#873CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#873CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CA1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CA1#FFFFFF#000000##FFFFFF
##873CA11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A4
Deuteranopia (green-blind)
#3D5F9F
Tritanopia (blue-blind)
#864E69
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #873ca1;
/* rgb */ color: rgb(135, 60, 161);
/* oklch */ color: oklch(49.9% 0.167 316.4);
Tailwind
colors: {
  custom: {
    50: '#ad76bd',
    500: '#873ca1',
    950: '#000000',
  },
}
SCSS
$custom: #873ca1;
$custom-light: #ad76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#873ca1",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 284.554,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.16707,
    "h": 316.4
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#873CA1
secondary
#8DBC7D
accent
#D55274
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #873CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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