#873B97#873B97

#873B97 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.2% C 0.158 H 320.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#873B97
RGBrgb(135, 59, 151)
HSLhsl(290, 44%, 41%)
HSVhsv(290, 61%, 59%)
CMYKcmyk(10.6%, 60.9%, 0%, 40.8%)
CIE-LABlab(38.75, 46.50, -36.32)
CIE-LCHlch(38.75, 59.00, 322.01°)
OKLaboklab(49.18% 0.122 -0.1011)
OKLCHoklch(49.18% 0.158 320.3)
XYZxyz(17.1409, 10.5140, 30.3987)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873B97 #4B973B
analogous
#593B97 #873B97 #973B79
triadic
#873B97 #97873B #3B9787
tetradic
#873B97 #97593B #4B973B #3B7997
square
#873B97 #97593B #4B973B #3B7997
split-complementary
#873B97 #79973B #3B9759
monochromatic
#38193F #602A6B #873B97 #AA53BC #C07FCD

Accessibility & contrast

On white

6.77
#873B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#873B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873B97
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873B97#FFFFFF#000000##FFFFFF
##873B971.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#435E95
Tritanopia (blue-blind)
#884963
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #873b97;
/* rgb */ color: rgb(135, 59, 151);
/* oklch */ color: oklch(49.2% 0.158 320.3);
Tailwind
colors: {
  custom: {
    50: '#ac76b6',
    500: '#873b97',
    950: '#000000',
  },
}
SCSS
$custom: #873b97;
$custom-light: #ac76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873b97",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 289.565,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.15849,
    "h": 320.3
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#873B97
secondary
#82B777
accent
#D4546A
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #873B97

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

Preview Lab → · Contrast checker → · Palette generator →

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