#873387#873387

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

Color values

HEX#873387
RGBrgb(135, 51, 135)
HSLhsl(300, 45%, 36%)
HSVhsv(300, 62%, 53%)
CMYKcmyk(0%, 62.2%, 0%, 47.1%)
CIE-LABlab(36.50, 47.18, -30.11)
CIE-LCHlch(36.50, 55.97, 327.45°)
OKLaboklab(47.26% 0.1314 -0.0831)
OKLCHoklch(47.26% 0.155 327.7)
XYZxyz(15.5484, 9.2688, 23.8871)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873387 #338733
analogous
#5D3387 #873387 #87335D
triadic
#873387 #878733 #338787
tetradic
#873387 #875D33 #338733 #335D87
square
#873387 #875D33 #338733 #335D87
split-complementary
#873387 #5D8733 #33875D
monochromatic
#2E112E #5B225B #873387 #B344B3 #C86DC8

Accessibility & contrast

On white

7.36
#873387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #873387
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873387#FFFFFF#000000##FFFFFF
##8733871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#8B3E58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #873387;
/* rgb */ color: rgb(135, 51, 135);
/* oklch */ color: oklch(47.3% 0.155 327.7);
Tailwind
colors: {
  custom: {
    50: '#ad71aa',
    500: '#873387',
    950: '#000000',
  },
}
SCSS
$custom: #873387;
$custom-light: #ad71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#873387",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 300,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.15544,
    "h": 327.7
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#873387
secondary
#66B066
accent
#D55353
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #873387

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

Preview Lab → · Contrast checker → · Palette generator →

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