#873496#873496

#873496 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.168 H 321.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#873496
RGBrgb(135, 52, 150)
HSLhsl(291, 49%, 40%)
HSVhsv(291, 65%, 59%)
CMYKcmyk(10%, 65.3%, 0%, 41.2%)
CIE-LABlab(37.50, 49.58, -37.70)
CIE-LCHlch(37.50, 62.29, 322.75°)
OKLaboklab(48.25% 0.1308 -0.1051)
OKLCHoklch(48.25% 0.168 321.2)
XYZxyz(16.7241, 9.8097, 29.8608)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873496 #439634
analogous
#563496 #873496 #963474
triadic
#873496 #968734 #349687
tetradic
#873496 #965634 #439634 #347496
square
#873496 #965634 #439634 #347496
split-complementary
#873496 #749634 #349656
monochromatic
#35143B #5E2469 #873496 #AD48BF #C175CF

Accessibility & contrast

On white

7.09
#873496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#873496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873496
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873496#FFFFFF#000000##FFFFFF
##8734961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#3F5B94
Tritanopia (blue-blind)
#884460
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #873496;
/* rgb */ color: rgb(135, 52, 150);
/* oklch */ color: oklch(48.3% 0.168 321.2);
Tailwind
colors: {
  custom: {
    50: '#ad72b5',
    500: '#873496',
    950: '#000000',
  },
}
SCSS
$custom: #873496;
$custom-light: #ad72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#873496",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 290.816,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.16782,
    "h": 321.2
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#873496
secondary
#79B86E
accent
#D85065
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873496

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

Preview Lab → · Contrast checker → · Palette generator →

#873496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva