#8B2391#8B2391

#8B2391 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.186 H 325.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8B2391
RGBrgb(139, 35, 145)
HSLhsl(297, 61%, 35%)
HSVhsv(297, 76%, 57%)
CMYKcmyk(4.1%, 75.9%, 0%, 43.1%)
CIE-LABlab(35.47, 56.27, -37.84)
CIE-LCHlch(35.47, 67.81, 326.08°)
OKLaboklab(46.83% 0.1539 -0.1053)
OKLCHoklch(46.83% 0.187 325.6)
XYZxyz(16.3590, 8.7365, 27.6072)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2391 #299123
analogous
#542391 #8B2391 #912360
triadic
#8B2391 #918B23 #23918B
tetradic
#8B2391 #915423 #299123 #236091
square
#8B2391 #915423 #299123 #236091
split-complementary
#8B2391 #609123 #239154
monochromatic
#2C0B2E #5C1760 #8B2391 #BA2FC2 #D058D7

Accessibility & contrast

On white

7.64
#8B2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2391
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2391#FFFFFF#000000##FFFFFF
##8B23911.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2391;
/* rgb */ color: rgb(139, 35, 145);
/* oklch */ color: oklch(46.8% 0.186 325.6);
Tailwind
colors: {
  custom: {
    50: '#b06ab2',
    500: '#8b2391',
    950: '#000000',
  },
}
SCSS
$custom: #8b2391;
$custom-light: #b06ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2391",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 296.727,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.1865,
    "h": 325.6
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#8B2391
secondary
#5BBB55
accent
#E4444C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2391

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

Preview Lab → · Contrast checker → · Palette generator →

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