#8B1B84#8B1B84

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

Color values

HEX#8B1B84
RGBrgb(139, 27, 132)
HSLhsl(304, 67%, 33%)
HSVhsv(304, 81%, 55%)
CMYKcmyk(0%, 80.6%, 5%, 45.5%)
CIE-LABlab(33.86, 56.52, -32.38)
CIE-LCHlch(33.86, 65.14, 330.19°)
OKLaboklab(45.43% 0.1611 -0.0894)
OKLCHoklch(45.43% 0.184 331)
XYZxyz(15.2042, 7.9400, 22.5571)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B84 #1B8B22
analogous
#5A1B8B #8B1B84 #8B1B4C
triadic
#8B1B84 #848B1B #1B848B
tetradic
#8B1B84 #8B5A1B #1B8B22 #1B4C8B
square
#8B1B84 #8B5A1B #1B8B22 #1B4C8B
split-complementary
#8B1B84 #4C8B1B #1B8B5A
monochromatic
#250723 #581153 #8B1B84 #BE25B5 #DB45D2

Accessibility & contrast

On white

8.12
#8B1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B84
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B84#FFFFFF#000000##FFFFFF
##8B1B841.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#912B4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1b84;
/* rgb */ color: rgb(139, 27, 132);
/* oklch */ color: oklch(45.4% 0.184 331.0);
Tailwind
colors: {
  custom: {
    50: '#b166a8',
    500: '#8b1b84',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b84;
$custom-light: #b166a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b84",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 303.75,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.18425,
    "h": 331
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#8B1B84
secondary
#45BC4D
accent
#EA483D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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