#873296#873296

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

Color values

HEX#873296
RGBrgb(135, 50, 150)
HSLhsl(291, 50%, 39%)
HSVhsv(291, 67%, 59%)
CMYKcmyk(10%, 66.7%, 0%, 41.2%)
CIE-LABlab(37.18, 50.47, -38.21)
CIE-LCHlch(37.18, 63.30, 322.87°)
OKLaboklab(48.02% 0.1332 -0.1066)
OKLCHoklch(48.02% 0.171 321.3)
XYZxyz(16.6367, 9.6350, 29.8317)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873296 #419632
analogous
#553296 #873296 #963273
triadic
#873296 #968732 #329687
tetradic
#873296 #965532 #419632 #327396
square
#873296 #965532 #419632 #327396
split-complementary
#873296 #739632 #329655
monochromatic
#34133A #5E2368 #873296 #AE44C1 #C272D0

Accessibility & contrast

On white

7.18
#873296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#873296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873296
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873296#FFFFFF#000000##FFFFFF
##8732961.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#884360
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #873296;
/* rgb */ color: rgb(135, 50, 150);
/* oklch */ color: oklch(48.0% 0.171 321.3);
Tailwind
colors: {
  custom: {
    50: '#ad71b5',
    500: '#873296',
    950: '#000000',
  },
}
SCSS
$custom: #873296;
$custom-light: #ad71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#873296",
  "rgb": {
    "r": 135,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 291,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.17061,
    "h": 321.3
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#873296
secondary
#77B86C
accent
#DA4E63
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #873296

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

Preview Lab → · Contrast checker → · Palette generator →

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