#8B1A9E#8B1A9E

#8B1A9E is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.205 H 321.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8B1A9E
RGBrgb(139, 26, 158)
HSLhsl(291, 72%, 36%)
HSVhsv(291, 84%, 62%)
CMYKcmyk(12%, 83.5%, 0%, 38%)
CIE-LABlab(35.40, 61.22, -45.89)
CIE-LCHlch(35.40, 76.50, 323.15°)
OKLaboklab(47.04% 0.1599 -0.1287)
OKLCHoklch(47.04% 0.205 321.2)
XYZxyz(17.1877, 8.6974, 33.1146)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A9E #2D9E1A
analogous
#491A9E #8B1A9E #9E1A6F
triadic
#8B1A9E #9E8B1A #1A9E8B
tetradic
#8B1A9E #9E491A #2D9E1A #1A6F9E
square
#8B1A9E #9E491A #2D9E1A #1A6F9E
split-complementary
#8B1A9E #6F9E1A #1A9E49
monochromatic
#2F0935 #5D1169 #8B1A9E #B923D3 #CD50E2

Accessibility & contrast

On white

7.67
#8B1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B1A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A9E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A9E#FFFFFF#000000##FFFFFF
##8B1A9E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#8C385E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1a9e;
/* rgb */ color: rgb(139, 26, 158);
/* oklch */ color: oklch(47.0% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#b167bb',
    500: '#8b1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a9e;
$custom-light: #b167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a9e",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 291.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47042,
    "c": 0.20528,
    "h": 321.2
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#8B1A9E
secondary
#60C54F
accent
#EE3953
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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