#873399#873399

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

Color values

HEX#873399
RGBrgb(135, 51, 153)
HSLhsl(289, 50%, 40%)
HSVhsv(289, 67%, 60%)
CMYKcmyk(11.8%, 66.7%, 0%, 40%)
CIE-LABlab(37.52, 50.62, -39.49)
CIE-LCHlch(37.52, 64.21, 322.04°)
OKLaboklab(48.32% 0.132 -0.1103)
OKLCHoklch(48.32% 0.172 320.1)
XYZxyz(16.9246, 9.8193, 31.1346)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873399 #459933
analogous
#543399 #873399 #993378
triadic
#873399 #998733 #339987
tetradic
#873399 #995433 #459933 #337899
square
#873399 #995433 #459933 #337899
split-complementary
#873399 #789933 #339954
monochromatic
#36143D #5F246B #873399 #AC47C2 #C175D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##873399#FFFFFF#000000##FFFFFF
##8733991.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)
#13529C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#884562
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #873399;
/* rgb */ color: rgb(135, 51, 153);
/* oklch */ color: oklch(48.3% 0.172 320.1);
Tailwind
colors: {
  custom: {
    50: '#ad71b7',
    500: '#873399',
    950: '#000000',
  },
}
SCSS
$custom: #873399;
$custom-light: #ad71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873399",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 289.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.48324,
    "c": 0.17205,
    "h": 320.1
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#873399
secondary
#7CB96E
accent
#DA4E67
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873399

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

Preview Lab → · Contrast checker → · Palette generator →

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