#8B2491#8B2491

#8B2491 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.185 H 325.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8B2491
RGBrgb(139, 36, 145)
HSLhsl(297, 60%, 35%)
HSVhsv(297, 75%, 57%)
CMYKcmyk(4.1%, 75.2%, 0%, 43.1%)
CIE-LABlab(35.59, 55.93, -37.65)
CIE-LCHlch(35.59, 67.42, 326.05°)
OKLaboklab(46.91% 0.153 -0.1048)
OKLCHoklch(46.91% 0.185 325.6)
XYZxyz(16.3888, 8.7961, 27.6172)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2491 #2A9124
analogous
#542491 #8B2491 #912460
triadic
#8B2491 #918B24 #24918B
tetradic
#8B2491 #915424 #2A9124 #246091
square
#8B2491 #915424 #2A9124 #246091
split-complementary
#8B2491 #609124 #249154
monochromatic
#2D0C2F #5C1860 #8B2491 #BA30C2 #CF59D6

Accessibility & contrast

On white

7.61
#8B2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2491
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2491#FFFFFF#000000##FFFFFF
##8B24911.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2491;
/* rgb */ color: rgb(139, 36, 145);
/* oklch */ color: oklch(46.9% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8b2491',
    950: '#000000',
  },
}
SCSS
$custom: #8b2491;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2491",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 296.697,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.18544,
    "h": 325.6
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#8B2491
secondary
#5CBA56
accent
#E3444D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2491

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

Preview Lab → · Contrast checker → · Palette generator →

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