#873CA3#873CA3

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

Color values

HEX#873CA3
RGBrgb(135, 60, 163)
HSLhsl(284, 46%, 44%)
HSVhsv(284, 63%, 64%)
CMYKcmyk(17.2%, 63.2%, 0%, 36.1%)
CIE-LABlab(39.63, 48.51, -42.15)
CIE-LCHlch(39.63, 64.26, 319.02°)
OKLaboklab(50.04% 0.121 -0.1182)
OKLCHoklch(50.04% 0.169 315.7)
XYZxyz(18.2174, 11.0276, 35.8121)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873CA3 #58A33C
analogous
#533CA3 #873CA3 #A33C8B
triadic
#873CA3 #A3873C #3CA387
tetradic
#873CA3 #A3533C #58A33C #3C8BA3
square
#873CA3 #A3533C #58A33C #3C8BA3
split-complementary
#873CA3 #8BA33C #3CA353
monochromatic
#3D1B4A #622C76 #873CA3 #A65AC2 #BE87D3

Accessibility & contrast

On white

6.55
#873CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#873CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873CA3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873CA3#FFFFFF#000000##FFFFFF
##873CA31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#854E6A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #873ca3;
/* rgb */ color: rgb(135, 60, 163);
/* oklch */ color: oklch(50.0% 0.169 315.7);
Tailwind
colors: {
  custom: {
    50: '#ad76bf',
    500: '#873ca3',
    950: '#000000',
  },
}
SCSS
$custom: #873ca3;
$custom-light: #ad76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#873ca3",
  "rgb": {
    "r": 135,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 283.689,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.16911,
    "h": 315.7
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#873CA3
secondary
#8FBD7E
accent
#D65276
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #873CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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