#873299#873299

#873299 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.173 H 320.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#873299
RGBrgb(135, 50, 153)
HSLhsl(290, 51%, 40%)
HSVhsv(290, 67%, 60%)
CMYKcmyk(11.8%, 67.3%, 0%, 40%)
CIE-LABlab(37.36, 51.06, -39.74)
CIE-LCHlch(37.36, 64.71, 322.10°)
OKLaboklab(48.21% 0.1332 -0.1111)
OKLCHoklch(48.21% 0.173 320.2)
XYZxyz(16.8813, 9.7328, 31.1202)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873299 #449932
analogous
#543299 #873299 #993277
triadic
#873299 #998732 #329987
tetradic
#873299 #995432 #449932 #327799
square
#873299 #995432 #449932 #327799
split-complementary
#873299 #779932 #329954
monochromatic
#36143D #5E236B #873299 #AD46C2 #C174D2

Accessibility & contrast

On white

7.13
#873299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #873299
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873299#FFFFFF#000000##FFFFFF
##8732991.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#884461
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #873299;
/* rgb */ color: rgb(135, 50, 153);
/* oklch */ color: oklch(48.2% 0.173 320.2);
Tailwind
colors: {
  custom: {
    50: '#ad71b7',
    500: '#873299',
    950: '#000000',
  },
}
SCSS
$custom: #873299;
$custom-light: #ad71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#873299",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 289.515,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.17342,
    "h": 320.2
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#873299
secondary
#7BBA6D
accent
#DA4E66
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873299

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

Preview Lab → · Contrast checker → · Palette generator →

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