#8B3296#8B3296

#8B3296 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.173 H 323.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B3296
RGBrgb(139, 50, 150)
HSLhsl(293, 50%, 39%)
HSVhsv(293, 67%, 59%)
CMYKcmyk(7.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(37.79, 51.45, -37.19)
CIE-LCHlch(37.79, 63.49, 324.14°)
OKLaboklab(48.59% 0.1381 -0.1035)
OKLCHoklch(48.59% 0.173 323.1)
XYZxyz(17.2926, 9.9731, 29.8624)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3296 #3D9632
analogous
#593296 #8B3296 #96326F
triadic
#8B3296 #968B32 #32968B
tetradic
#8B3296 #965932 #3D9632 #326F96
square
#8B3296 #965932 #3D9632 #326F96
split-complementary
#8B3296 #6F9632 #329659
monochromatic
#36133A #602368 #8B3296 #B344C1 #C672D0

Accessibility & contrast

On white

7.01
#8B3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3296
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3296#FFFFFF#000000##FFFFFF
##8B32961.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#8D4260
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b3296;
/* rgb */ color: rgb(139, 50, 150);
/* oklch */ color: oklch(48.6% 0.173 323.1);
Tailwind
colors: {
  custom: {
    50: '#b071b5',
    500: '#8b3296',
    950: '#000000',
  },
}
SCSS
$custom: #8b3296;
$custom-light: #b071b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3296",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 293.4,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.17257,
    "h": 323.1
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#8B3296
secondary
#74B86C
accent
#DA4E5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3296

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

Preview Lab → · Contrast checker → · Palette generator →

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