#8B3091#8B3091

#8B3091 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.171 H 325.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8B3091
RGBrgb(139, 48, 145)
HSLhsl(296, 50%, 38%)
HSVhsv(296, 67%, 57%)
CMYKcmyk(4.1%, 66.9%, 0%, 43.1%)
CIE-LABlab(37.20, 51.36, -35.09)
CIE-LCHlch(37.20, 62.20, 325.66°)
OKLaboklab(48.07% 0.1403 -0.0974)
OKLCHoklch(48.07% 0.171 325.2)
XYZxyz(16.8149, 9.6482, 27.7592)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3091 #369130
analogous
#5B3091 #8B3091 #913066
triadic
#8B3091 #918B30 #30918B
tetradic
#8B3091 #915B30 #369130 #306691
square
#8B3091 #915B30 #369130 #306691
split-complementary
#8B3091 #669130 #30915B
monochromatic
#331235 #5F2163 #8B3091 #B73FBF #C96DCF

Accessibility & contrast

On white

7.17
#8B3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B3091
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3091#FFFFFF#000000##FFFFFF
##8B30911.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#8E3F5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b3091;
/* rgb */ color: rgb(139, 48, 145);
/* oklch */ color: oklch(48.1% 0.171 325.2);
Tailwind
colors: {
  custom: {
    50: '#b070b2',
    500: '#8b3091',
    950: '#000000',
  },
}
SCSS
$custom: #8b3091;
$custom-light: #b070b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3091",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 296.289,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48072,
    "c": 0.17079,
    "h": 325.2
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#8B3091
secondary
#6CB667
accent
#DA4E57
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B3091

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

Preview Lab → · Contrast checker → · Palette generator →

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