#873196#873196

#873196 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.172 H 321.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#873196
RGBrgb(135, 49, 150)
HSLhsl(291, 51%, 39%)
HSVhsv(291, 67%, 59%)
CMYKcmyk(10%, 67.3%, 0%, 41.2%)
CIE-LABlab(37.02, 50.91, -38.46)
CIE-LCHlch(37.02, 63.80, 322.93°)
OKLaboklab(47.91% 0.1344 -0.1073)
OKLCHoklch(47.91% 0.172 321.4)
XYZxyz(16.5944, 9.5504, 29.8176)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873196 #409631
analogous
#553196 #873196 #963173
triadic
#873196 #968731 #319687
tetradic
#873196 #965531 #409631 #317396
square
#873196 #965531 #409631 #317396
split-complementary
#873196 #739631 #319655
monochromatic
#34133A #5D2268 #873196 #AF43C1 #C271D1

Accessibility & contrast

On white

7.22
#873196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #873196
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873196#FFFFFF#000000##FFFFFF
##8731961.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#88425F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873196;
/* rgb */ color: rgb(135, 49, 150);
/* oklch */ color: oklch(47.9% 0.172 321.4);
Tailwind
colors: {
  custom: {
    50: '#ad70b5',
    500: '#873196',
    950: '#000000',
  },
}
SCSS
$custom: #873196;
$custom-light: #ad70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#873196",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 291.089,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.17198,
    "h": 321.4
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#873196
secondary
#76B86A
accent
#DA4E62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873196

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

Preview Lab → · Contrast checker → · Palette generator →

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