#8B3196#8B3196

#8B3196 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 323.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8B3196
RGBrgb(139, 49, 150)
HSLhsl(293, 51%, 39%)
HSVhsv(293, 67%, 59%)
CMYKcmyk(7.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(37.64, 51.87, -37.44)
CIE-LCHlch(37.64, 63.97, 324.18°)
OKLaboklab(48.48% 0.1392 -0.1042)
OKLCHoklch(48.48% 0.174 323.2)
XYZxyz(17.2503, 9.8886, 29.8483)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3196 #3C9631
analogous
#593196 #8B3196 #96316F
triadic
#8B3196 #968B31 #31968B
tetradic
#8B3196 #965931 #3C9631 #316F96
square
#8B3196 #965931 #3C9631 #316F96
split-complementary
#8B3196 #6F9631 #319659
monochromatic
#36133A #602268 #8B3196 #B443C1 #C671D1

Accessibility & contrast

On white

7.05
#8B3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3196
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3196#FFFFFF#000000##FFFFFF
##8B31961.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#8D415F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b3196;
/* rgb */ color: rgb(139, 49, 150);
/* oklch */ color: oklch(48.5% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#b070b5',
    500: '#8b3196',
    950: '#000000',
  },
}
SCSS
$custom: #8b3196;
$custom-light: #b070b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3196",
  "rgb": {
    "r": 139,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 293.465,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.17392,
    "h": 323.2
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#8B3196
secondary
#73B86A
accent
#DA4E5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3196

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

Preview Lab → · Contrast checker → · Palette generator →

#8B3196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva