#873486#873486

#873486 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.153 H 328.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#873486
RGBrgb(135, 52, 134)
HSLhsl(301, 44%, 37%)
HSVhsv(301, 61%, 53%)
CMYKcmyk(0%, 61.5%, 0.7%, 47.1%)
CIE-LABlab(36.61, 46.53, -29.32)
CIE-LCHlch(36.61, 55.00, 327.79°)
OKLaboklab(47.32% 0.13 -0.0808)
OKLCHoklch(47.32% 0.153 328.1)
XYZxyz(15.5225, 9.3291, 23.5327)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873486 #348735
analogous
#5F3487 #873486 #87345D
triadic
#873486 #868734 #348687
tetradic
#873486 #875F34 #348735 #345D87
square
#873486 #875F34 #348735 #345D87
split-complementary
#873486 #5D8734 #34875F
monochromatic
#2F122E #5B235A #873486 #B345B2 #C76EC6

Accessibility & contrast

On white

7.33
#873486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#873486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873486
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873486#FFFFFF#000000##FFFFFF
##8734861.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#485A84
Tritanopia (blue-blind)
#8B3E58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #873486;
/* rgb */ color: rgb(135, 52, 134);
/* oklch */ color: oklch(47.3% 0.153 328.1);
Tailwind
colors: {
  custom: {
    50: '#ac71a9',
    500: '#873486',
    950: '#000000',
  },
}
SCSS
$custom: #873486;
$custom-light: #ac71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#873486",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 300.723,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.15306,
    "h": 328.1
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#873486
secondary
#67AF68
accent
#D45554
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #873486

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

Preview Lab → · Contrast checker → · Palette generator →

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