#873497#873497

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

Color values

HEX#873497
RGBrgb(135, 52, 151)
HSLhsl(290, 49%, 40%)
HSVhsv(290, 66%, 59%)
CMYKcmyk(10.6%, 65.6%, 0%, 40.8%)
CIE-LABlab(37.56, 49.78, -38.21)
CIE-LCHlch(37.56, 62.76, 322.49°)
OKLaboklab(48.32% 0.1308 -0.1066)
OKLCHoklch(48.32% 0.169 320.8)
XYZxyz(16.8049, 9.8421, 30.2867)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873497 #449734
analogous
#563497 #873497 #973476
triadic
#873497 #978734 #349787
tetradic
#873497 #975634 #449734 #347697
square
#873497 #975634 #449734 #347697
split-complementary
#873497 #769734 #349756
monochromatic
#36153C #5E2469 #873497 #AD48C0 #C176D0

Accessibility & contrast

On white

7.07
#873497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#873497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873497
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873497#FFFFFF#000000##FFFFFF
##8734971.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#3E5B95
Tritanopia (blue-blind)
#884461
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #873497;
/* rgb */ color: rgb(135, 52, 151);
/* oklch */ color: oklch(48.3% 0.169 320.8);
Tailwind
colors: {
  custom: {
    50: '#ad72b6',
    500: '#873497',
    950: '#000000',
  },
}
SCSS
$custom: #873497;
$custom-light: #ad72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873497",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 290.303,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.16877,
    "h": 320.8
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#873497
secondary
#7BB86F
accent
#D84F66
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873497

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

Preview Lab → · Contrast checker → · Palette generator →

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