#8B2591#8B2591

#8B2591 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.184 H 325.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8B2591
RGBrgb(139, 37, 145)
HSLhsl(297, 59%, 36%)
HSVhsv(297, 74%, 57%)
CMYKcmyk(4.1%, 74.5%, 0%, 43.1%)
CIE-LABlab(35.71, 55.59, -37.46)
CIE-LCHlch(35.71, 67.03, 326.02°)
OKLaboklab(47% 0.1521 -0.1042)
OKLCHoklch(47% 0.184 325.6)
XYZxyz(16.4195, 8.8575, 27.6274)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2591 #2B9125
analogous
#552591 #8B2591 #912561
triadic
#8B2591 #918B25 #25918B
tetradic
#8B2591 #915525 #2B9125 #256191
square
#8B2591 #915525 #2B9125 #256191
split-complementary
#8B2591 #619125 #259155
monochromatic
#2E0C2F #5C1960 #8B2591 #BA31C2 #CE5BD5

Accessibility & contrast

On white

7.58
#8B2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2591
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2591#FFFFFF#000000##FFFFFF
##8B25911.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C94
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#8E3759
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2591;
/* rgb */ color: rgb(139, 37, 145);
/* oklch */ color: oklch(47.0% 0.184 325.6);
Tailwind
colors: {
  custom: {
    50: '#b06bb2',
    500: '#8b2591',
    950: '#000000',
  },
}
SCSS
$custom: #8b2591;
$custom-light: #b06bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2591",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 296.667,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.18434,
    "h": 325.6
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#8B2591
secondary
#5DBA58
accent
#E3454E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2591

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

Preview Lab → · Contrast checker → · Palette generator →

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