#873B95#873B95

#873B95 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.157 H 321.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#873B95
RGBrgb(135, 59, 149)
HSLhsl(291, 43%, 41%)
HSVhsv(291, 60%, 58%)
CMYKcmyk(9.4%, 60.4%, 0%, 41.6%)
CIE-LABlab(38.64, 46.09, -35.29)
CIE-LCHlch(38.64, 58.05, 322.57°)
OKLaboklab(49.06% 0.1219 -0.0981)
OKLCHoklch(49.06% 0.157 321.2)
XYZxyz(16.9798, 10.4496, 29.5505)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873B95 #49953B
analogous
#5A3B95 #873B95 #953B76
triadic
#873B95 #95873B #3B9587
tetradic
#873B95 #955A3B #49953B #3B7695
square
#873B95 #955A3B #49953B #3B7695
split-complementary
#873B95 #76953B #3B955A
monochromatic
#38183D #5F2A69 #873B95 #AA53BB #C07ECC

Accessibility & contrast

On white

6.80
#873B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#873B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873B95
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873B95#FFFFFF#000000##FFFFFF
##873B951.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285698
Deuteranopia (green-blind)
#445E93
Tritanopia (blue-blind)
#884962
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #873b95;
/* rgb */ color: rgb(135, 59, 149);
/* oklch */ color: oklch(49.1% 0.157 321.2);
Tailwind
colors: {
  custom: {
    50: '#ac75b4',
    500: '#873b95',
    950: '#000000',
  },
}
SCSS
$custom: #873b95;
$custom-light: #ac75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#873b95",
  "rgb": {
    "r": 135,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 290.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.15651,
    "h": 321.2
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#873B95
secondary
#80B676
accent
#D35568
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #873B95

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

Preview Lab → · Contrast checker → · Palette generator →

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