#873286#873286

#873286 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.1% C 0.156 H 328.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#873286
RGBrgb(135, 50, 134)
HSLhsl(301, 46%, 36%)
HSVhsv(301, 63%, 53%)
CMYKcmyk(0%, 63%, 0.7%, 47.1%)
CIE-LABlab(36.28, 47.45, -29.84)
CIE-LCHlch(36.28, 56.05, 327.84°)
OKLaboklab(47.08% 0.1326 -0.0823)
OKLCHoklch(47.08% 0.156 328.2)
XYZxyz(15.4352, 9.1543, 23.5036)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873286 #328733
analogous
#5E3287 #873286 #87325C
triadic
#873286 #868732 #328687
tetradic
#873286 #875E32 #328733 #325C87
square
#873286 #875E32 #328733 #325C87
split-complementary
#873286 #5C8732 #32875E
monochromatic
#2E112D #5A215A #873286 #B443B2 #C86BC7

Accessibility & contrast

On white

7.42
#873286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#873286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873286
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873286#FFFFFF#000000##FFFFFF
##8732861.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#465984
Tritanopia (blue-blind)
#8B3C57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #873286;
/* rgb */ color: rgb(135, 50, 134);
/* oklch */ color: oklch(47.1% 0.156 328.2);
Tailwind
colors: {
  custom: {
    50: '#ad70a9',
    500: '#873286',
    950: '#000000',
  },
}
SCSS
$custom: #873286;
$custom-light: #ad70a9;
$custom-dark: #000000;
JSON
{
  "hex": "#873286",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 300.706,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47081,
    "c": 0.15604,
    "h": 328.2
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#873286
secondary
#65B066
accent
#D65452
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #873286

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

Preview Lab → · Contrast checker → · Palette generator →

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