#873797#873797

#873797 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.164 H 320.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#873797
RGBrgb(135, 55, 151)
HSLhsl(290, 47%, 40%)
HSVhsv(290, 64%, 59%)
CMYKcmyk(10.6%, 63.6%, 0%, 40.8%)
CIE-LABlab(38.05, 48.41, -37.42)
CIE-LCHlch(38.05, 61.19, 322.29°)
OKLaboklab(48.67% 0.1271 -0.1043)
OKLCHoklch(48.67% 0.164 320.6)
XYZxyz(16.9431, 10.1184, 30.3327)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873797 #479737
analogous
#573797 #873797 #973777
triadic
#873797 #978737 #379787
tetradic
#873797 #975737 #479737 #377797
square
#873797 #975737 #479737 #377797
split-complementary
#873797 #779737 #379757
monochromatic
#37163D #5F276A #873797 #AB4DBE #C07ACF

Accessibility & contrast

On white

6.95
#873797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#873797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #873797
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873797#FFFFFF#000000##FFFFFF
##8737971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#405C95
Tritanopia (blue-blind)
#884762
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #873797;
/* rgb */ color: rgb(135, 55, 151);
/* oklch */ color: oklch(48.7% 0.164 320.6);
Tailwind
colors: {
  custom: {
    50: '#ad73b6',
    500: '#873797',
    950: '#000000',
  },
}
SCSS
$custom: #873797;
$custom-light: #ad73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873797",
  "rgb": {
    "r": 135,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 290,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.16447,
    "h": 320.6
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#873797
secondary
#7EB872
accent
#D65268
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873797

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

Preview Lab → · Contrast checker → · Palette generator →

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