#873197#873197

#873197 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 321.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#873197
RGBrgb(135, 49, 151)
HSLhsl(291, 51%, 39%)
HSVhsv(291, 68%, 59%)
CMYKcmyk(10.6%, 67.5%, 0%, 40.8%)
CIE-LABlab(37.08, 51.10, -38.97)
CIE-LCHlch(37.08, 64.27, 322.67°)
OKLaboklab(47.97% 0.1344 -0.1088)
OKLCHoklch(47.97% 0.173 321)
XYZxyz(16.6753, 9.5827, 30.2435)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873197 #419731
analogous
#543197 #873197 #973174
triadic
#873197 #978731 #319787
tetradic
#873197 #975431 #419731 #317497
square
#873197 #975431 #419731 #317497
split-complementary
#873197 #749731 #319754
monochromatic
#34133B #5E2269 #873197 #AE43C2 #C271D1

Accessibility & contrast

On white

7.20
#873197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#873197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873197
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873197#FFFFFF#000000##FFFFFF
##8731971.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#884260
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873197;
/* rgb */ color: rgb(135, 49, 151);
/* oklch */ color: oklch(48.0% 0.173 321.0);
Tailwind
colors: {
  custom: {
    50: '#ad70b6',
    500: '#873197',
    950: '#000000',
  },
}
SCSS
$custom: #873197;
$custom-light: #ad70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873197",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 290.588,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.17291,
    "h": 321
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#873197
secondary
#77B96B
accent
#DA4D63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873197

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

Preview Lab → · Contrast checker → · Palette generator →

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