#873386#873386

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

Color values

HEX#873386
RGBrgb(135, 51, 134)
HSLhsl(301, 45%, 36%)
HSVhsv(301, 62%, 53%)
CMYKcmyk(0%, 62.2%, 0.7%, 47.1%)
CIE-LABlab(36.44, 46.99, -29.58)
CIE-LCHlch(36.44, 55.53, 327.81°)
OKLaboklab(47.2% 0.1313 -0.0815)
OKLCHoklch(47.2% 0.155 328.2)
XYZxyz(15.4784, 9.2408, 23.5180)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873386 #338734
analogous
#5E3387 #873386 #87335C
triadic
#873386 #868733 #338687
tetradic
#873386 #875E33 #338734 #335C87
square
#873386 #875E33 #338734 #335C87
split-complementary
#873386 #5C8733 #33875E
monochromatic
#2E112E #5B225A #873386 #B344B2 #C86DC7

Accessibility & contrast

On white

7.37
#873386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#873386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873386
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873386#FFFFFF#000000##FFFFFF
##8733861.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#8B3D58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #873386;
/* rgb */ color: rgb(135, 51, 134);
/* oklch */ color: oklch(47.2% 0.155 328.2);
Tailwind
colors: {
  custom: {
    50: '#ad71a9',
    500: '#873386',
    950: '#000000',
  },
}
SCSS
$custom: #873386;
$custom-light: #ad71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#873386",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 300.714,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.472,
    "c": 0.15455,
    "h": 328.2
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#873386
secondary
#66B067
accent
#D55453
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #873386

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

Preview Lab → · Contrast checker → · Palette generator →

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