#8B1B86#8B1B86

#8B1B86 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.186 H 330.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8B1B86
RGBrgb(139, 27, 134)
HSLhsl(303, 67%, 33%)
HSVhsv(303, 81%, 55%)
CMYKcmyk(0%, 80.6%, 3.6%, 45.5%)
CIE-LABlab(33.97, 56.84, -33.44)
CIE-LCHlch(33.97, 65.95, 329.53°)
OKLaboklab(45.55% 0.1611 -0.0924)
OKLCHoklch(45.55% 0.186 330.2)
XYZxyz(15.3424, 7.9953, 23.2848)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B86 #1B8B20
analogous
#581B8B #8B1B86 #8B1B4E
triadic
#8B1B86 #868B1B #1B868B
tetradic
#8B1B86 #8B581B #1B8B20 #1B4E8B
square
#8B1B86 #8B581B #1B8B20 #1B4E8B
split-complementary
#8B1B86 #4E8B1B #1B8B58
monochromatic
#250723 #581155 #8B1B86 #BE25B7 #DB45D4

Accessibility & contrast

On white

8.08
#8B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B86
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B86#FFFFFF#000000##FFFFFF
##8B1B861.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074689
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#902C51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1b86;
/* rgb */ color: rgb(139, 27, 134);
/* oklch */ color: oklch(45.6% 0.186 330.2);
Tailwind
colors: {
  custom: {
    50: '#b166aa',
    500: '#8b1b86',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b86;
$custom-light: #b166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b86",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 302.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.18575,
    "h": 330.2
  },
  "luminance": 0.07994
}

Semantic roles & 50–950 ramp

primary
#8B1B86
secondary
#45BC4B
accent
#EA453D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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