#8B1886#8B1886

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

Color values

HEX#8B1886
RGBrgb(139, 24, 134)
HSLhsl(303, 71%, 32%)
HSVhsv(303, 83%, 55%)
CMYKcmyk(0%, 82.7%, 3.6%, 45.5%)
CIE-LABlab(33.70, 57.63, -33.87)
CIE-LCHlch(33.70, 66.85, 329.55°)
OKLaboklab(45.36% 0.1634 -0.0937)
OKLCHoklch(45.36% 0.188 330.2)
XYZxyz(15.2771, 7.8647, 23.2631)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1886 #188B1D
analogous
#57188B #8B1886 #8B184C
triadic
#8B1886 #868B18 #18868B
tetradic
#8B1886 #8B5718 #188B1D #184C8B
square
#8B1886 #8B5718 #188B1D #184C8B
split-complementary
#8B1886 #4C8B18 #188B57
monochromatic
#230621 #570F54 #8B1886 #BF21B8 #DE3FD7

Accessibility & contrast

On white

8.16
#8B1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1886
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1886#FFFFFF#000000##FFFFFF
##8B18861.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004689
Deuteranopia (green-blind)
#3E5583
Tritanopia (blue-blind)
#902A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1886;
/* rgb */ color: rgb(139, 24, 134);
/* oklch */ color: oklch(45.4% 0.188 330.2);
Tailwind
colors: {
  custom: {
    50: '#b165aa',
    500: '#8b1886',
    950: '#000000',
  },
}
SCSS
$custom: #8b1886;
$custom-light: #b165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1886",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 302.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.18834,
    "h": 330.2
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#8B1886
secondary
#40BE46
accent
#ED423A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1886

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

Preview Lab → · Contrast checker → · Palette generator →

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