#873099#873099

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

Color values

HEX#873099
RGBrgb(135, 48, 153)
HSLhsl(290, 52%, 39%)
HSVhsv(290, 69%, 60%)
CMYKcmyk(11.8%, 68.6%, 0%, 40%)
CIE-LABlab(37.05, 51.92, -40.24)
CIE-LCHlch(37.05, 65.69, 322.23°)
OKLaboklab(47.99% 0.1355 -0.1125)
OKLCHoklch(47.99% 0.176 320.3)
XYZxyz(16.7977, 9.5655, 31.0923)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873099 #429930
analogous
#523099 #873099 #993077
triadic
#873099 #998730 #309987
tetradic
#873099 #995230 #429930 #307799
square
#873099 #995230 #429930 #307799
split-complementary
#873099 #779930 #309952
monochromatic
#35133C #5E216A #873099 #AE42C4 #C271D2

Accessibility & contrast

On white

7.21
#873099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#873099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873099
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873099#FFFFFF#000000##FFFFFF
##8730991.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519C
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#884361
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873099;
/* rgb */ color: rgb(135, 48, 153);
/* oklch */ color: oklch(48.0% 0.176 320.3);
Tailwind
colors: {
  custom: {
    50: '#ad70b7',
    500: '#873099',
    950: '#000000',
  },
}
SCSS
$custom: #873099;
$custom-light: #ad70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873099",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 289.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.17609,
    "h": 320.3
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#873099
secondary
#78BA6B
accent
#DC4C65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873099

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

Preview Lab → · Contrast checker → · Palette generator →

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