#8B2E9A#8B2E9A

#8B2E9A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.181 H 321.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8B2E9A
RGBrgb(139, 46, 154)
HSLhsl(292, 54%, 39%)
HSVhsv(292, 70%, 60%)
CMYKcmyk(9.7%, 70.1%, 0%, 39.6%)
CIE-LABlab(37.44, 53.87, -40.19)
CIE-LCHlch(37.44, 67.21, 323.28°)
OKLaboklab(48.41% 0.1425 -0.1122)
OKLCHoklch(48.41% 0.181 321.8)
XYZxyz(17.4566, 9.7770, 31.5332)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E9A #3D9A2E
analogous
#552E9A #8B2E9A #9A2E73
triadic
#8B2E9A #9A8B2E #2E9A8B
tetradic
#8B2E9A #9A552E #3D9A2E #2E739A
square
#8B2E9A #9A552E #3D9A2E #2E739A
split-complementary
#8B2E9A #739A2E #2E9A55
monochromatic
#36123C #60206B #8B2E9A #B33FC6 #C66FD4

Accessibility & contrast

On white

7.11
#8B2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E9A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E9A#FFFFFF#000000##FFFFFF
##8B2E9A1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519D
Deuteranopia (green-blind)
#3C5C97
Tritanopia (blue-blind)
#8C4161
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2e9a;
/* rgb */ color: rgb(139, 46, 154);
/* oklch */ color: oklch(48.4% 0.181 321.8);
Tailwind
colors: {
  custom: {
    50: '#b06fb8',
    500: '#8b2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e9a;
$custom-light: #b06fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e9a",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 291.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.18141,
    "h": 321.8
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#8B2E9A
secondary
#74BB69
accent
#DD4A5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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