#873397#873397

#873397 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.170 H 320.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#873397
RGBrgb(135, 51, 151)
HSLhsl(290, 50%, 40%)
HSVhsv(290, 66%, 59%)
CMYKcmyk(10.6%, 66.2%, 0%, 40.8%)
CIE-LABlab(37.40, 50.23, -38.47)
CIE-LCHlch(37.40, 63.27, 322.55°)
OKLaboklab(48.2% 0.132 -0.1074)
OKLCHoklch(48.2% 0.17 320.9)
XYZxyz(16.7608, 9.7537, 30.2720)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873397 #439733
analogous
#553397 #873397 #973375
triadic
#873397 #978733 #339787
tetradic
#873397 #975533 #439733 #337597
square
#873397 #975533 #439733 #337597
split-complementary
#873397 #759733 #339755
monochromatic
#35143C #5E2469 #873397 #AD47C1 #C174D0

Accessibility & contrast

On white

7.12
#873397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#873397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873397
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873397#FFFFFF#000000##FFFFFF
##8733971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#884460
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #873397;
/* rgb */ color: rgb(135, 51, 151);
/* oklch */ color: oklch(48.2% 0.170 320.9);
Tailwind
colors: {
  custom: {
    50: '#ad71b6',
    500: '#873397',
    950: '#000000',
  },
}
SCSS
$custom: #873397;
$custom-light: #ad71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#873397",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 290.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.17017,
    "h": 320.9
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#873397
secondary
#79B86D
accent
#D94F65
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873397

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

Preview Lab → · Contrast checker → · Palette generator →

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