#8B3591#8B3591

#8B3591 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.6% C 0.164 H 325.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8B3591
RGBrgb(139, 53, 145)
HSLhsl(296, 46%, 39%)
HSVhsv(296, 63%, 57%)
CMYKcmyk(4.1%, 63.4%, 0%, 43.1%)
CIE-LABlab(37.99, 49.18, -33.85)
CIE-LCHlch(37.99, 59.70, 325.47°)
OKLaboklab(48.64% 0.1343 -0.0938)
OKLCHoklch(48.64% 0.164 325.1)
XYZxyz(17.0310, 10.0805, 27.8312)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3591 #3B9135
analogous
#5D3591 #8B3591 #913569
triadic
#8B3591 #918B35 #35918B
tetradic
#8B3591 #915D35 #3B9135 #356991
square
#8B3591 #915D35 #3B9135 #356991
split-complementary
#8B3591 #699135 #35915D
monochromatic
#351437 #602564 #8B3591 #B447BC #C774CC

Accessibility & contrast

On white

6.96
#8B3591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B3591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3591
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3591#FFFFFF#000000##FFFFFF
##8B35911.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255394
Deuteranopia (green-blind)
#465D8F
Tritanopia (blue-blind)
#8E425E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b3591;
/* rgb */ color: rgb(139, 53, 145);
/* oklch */ color: oklch(48.6% 0.164 325.1);
Tailwind
colors: {
  custom: {
    50: '#b072b1',
    500: '#8b3591',
    950: '#000000',
  },
}
SCSS
$custom: #8b3591;
$custom-light: #b072b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3591",
  "rgb": {
    "r": 139,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 296.087,
    "s": 46.465,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.1638,
    "h": 325.1
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#8B3591
secondary
#72B56D
accent
#D6525A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3591

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

Preview Lab → · Contrast checker → · Palette generator →

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