#8B3497#8B3497

#8B3497 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.171 H 322.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8B3497
RGBrgb(139, 52, 151)
HSLhsl(293, 49%, 40%)
HSVhsv(293, 66%, 59%)
CMYKcmyk(7.9%, 65.6%, 0%, 40.8%)
CIE-LABlab(38.16, 50.77, -37.21)
CIE-LCHlch(38.16, 62.95, 323.76°)
OKLaboklab(48.88% 0.1357 -0.1036)
OKLCHoklch(48.88% 0.171 322.6)
XYZxyz(17.4608, 10.1803, 30.3174)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3497 #409734
analogous
#593497 #8B3497 #973472
triadic
#8B3497 #978B34 #34978B
tetradic
#8B3497 #975934 #409734 #347297
square
#8B3497 #975934 #409734 #347297
split-complementary
#8B3497 #729734 #349759
monochromatic
#37153C #612469 #8B3497 #B248C0 #C576D0

Accessibility & contrast

On white

6.92
#8B3497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8B3497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3497
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3497#FFFFFF#000000##FFFFFF
##8B34971.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#8D4461
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b3497;
/* rgb */ color: rgb(139, 52, 151);
/* oklch */ color: oklch(48.9% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#b072b6',
    500: '#8b3497',
    950: '#000000',
  },
}
SCSS
$custom: #8b3497;
$custom-light: #b072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3497",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 292.727,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.17073,
    "h": 322.6
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#8B3497
secondary
#78B86F
accent
#D84F60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3497

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

Preview Lab → · Contrast checker → · Palette generator →

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