#8B1A84#8B1A84

#8B1A84 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.185 H 331.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8B1A84
RGBrgb(139, 26, 132)
HSLhsl(304, 68%, 32%)
HSVhsv(304, 81%, 55%)
CMYKcmyk(0%, 81.3%, 5%, 45.5%)
CIE-LABlab(33.76, 56.79, -32.53)
CIE-LCHlch(33.76, 65.45, 330.20°)
OKLaboklab(45.37% 0.1619 -0.0898)
OKLCHoklch(45.37% 0.185 331)
XYZxyz(15.1817, 7.8950, 22.5496)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A84 #1A8B21
analogous
#5A1A8B #8B1A84 #8B1A4B
triadic
#8B1A84 #848B1A #1A848B
tetradic
#8B1A84 #8B5A1A #1A8B21 #1A4B8B
square
#8B1A84 #8B5A1A #1A8B21 #1A4B8B
split-complementary
#8B1A84 #4B8B1A #1A8B5A
monochromatic
#240722 #571053 #8B1A84 #BF24B5 #DC43D2

Accessibility & contrast

On white

8.14
#8B1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A84
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A84#FFFFFF#000000##FFFFFF
##8B1A841.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4687
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#912A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1a84;
/* rgb */ color: rgb(139, 26, 132);
/* oklch */ color: oklch(45.4% 0.185 331.0);
Tailwind
colors: {
  custom: {
    50: '#b166a8',
    500: '#8b1a84',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a84;
$custom-light: #b166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a84",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 303.717,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.18515,
    "h": 331
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#8B1A84
secondary
#44BD4B
accent
#EB473C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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