#8B2191#8B2191

#8B2191 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.189 H 325.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8B2191
RGBrgb(139, 33, 145)
HSLhsl(297, 63%, 35%)
HSVhsv(297, 77%, 57%)
CMYKcmyk(4.1%, 77.2%, 0%, 43.1%)
CIE-LABlab(35.25, 56.91, -38.20)
CIE-LCHlch(35.25, 68.54, 326.13°)
OKLaboklab(46.67% 0.1557 -0.1063)
OKLCHoklch(46.67% 0.189 325.7)
XYZxyz(16.3018, 8.6221, 27.5882)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2191 #279121
analogous
#532191 #8B2191 #91215F
triadic
#8B2191 #918B21 #21918B
tetradic
#8B2191 #915321 #279121 #215F91
square
#8B2191 #915321 #279121 #215F91
split-complementary
#8B2191 #5F9121 #219153
monochromatic
#2B0A2D #5B165F #8B2191 #BB2CC3 #D154D8

Accessibility & contrast

On white

7.71
#8B2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2191
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2191#FFFFFF#000000##FFFFFF
##8B21911.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#3B578E
Tritanopia (blue-blind)
#8E3558
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2191;
/* rgb */ color: rgb(139, 33, 145);
/* oklch */ color: oklch(46.7% 0.189 325.7);
Tailwind
colors: {
  custom: {
    50: '#b069b2',
    500: '#8b2191',
    950: '#000000',
  },
}
SCSS
$custom: #8b2191;
$custom-light: #b069b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2191",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 296.786,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.18858,
    "h": 325.7
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#8B2191
secondary
#58BC52
accent
#E6424B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2191

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

Preview Lab → · Contrast checker → · Palette generator →

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