#873799#873799

#873799 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.166 H 319.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#873799
RGBrgb(135, 55, 153)
HSLhsl(289, 47%, 41%)
HSVhsv(289, 64%, 60%)
CMYKcmyk(11.8%, 64.1%, 0%, 40%)
CIE-LABlab(38.17, 48.81, -38.45)
CIE-LCHlch(38.17, 62.13, 321.77°)
OKLaboklab(48.8% 0.1272 -0.1073)
OKLCHoklch(48.8% 0.166 319.8)
XYZxyz(17.1069, 10.1840, 31.1954)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873799 #499937
analogous
#563799 #873799 #99377A
triadic
#873799 #998737 #379987
tetradic
#873799 #995637 #499937 #377A99
square
#873799 #995637 #499937 #377A99
split-complementary
#873799 #7A9937 #379956
monochromatic
#38173F #5F276C #873799 #AA4EBF #C07BD0

Accessibility & contrast

On white

6.92
#873799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#873799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873799
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873799#FFFFFF#000000##FFFFFF
##8737991.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#884763
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #873799;
/* rgb */ color: rgb(135, 55, 153);
/* oklch */ color: oklch(48.8% 0.166 319.8);
Tailwind
colors: {
  custom: {
    50: '#ad73b7',
    500: '#873799',
    950: '#000000',
  },
}
SCSS
$custom: #873799;
$custom-light: #ad73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873799",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 288.98,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.16641,
    "h": 319.8
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#873799
secondary
#80B973
accent
#D7516A
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873799

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

Preview Lab → · Contrast checker → · Palette generator →

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