#8B1D86#8B1D86

#8B1D86 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 330.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8B1D86
RGBrgb(139, 29, 134)
HSLhsl(303, 65%, 33%)
HSVhsv(303, 79%, 55%)
CMYKcmyk(0%, 79.1%, 3.6%, 45.5%)
CIE-LABlab(34.17, 56.27, -33.13)
CIE-LCHlch(34.17, 65.30, 329.51°)
OKLaboklab(45.69% 0.1595 -0.0915)
OKLCHoklch(45.69% 0.184 330.1)
XYZxyz(15.3898, 8.0902, 23.3006)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D86 #1D8B22
analogous
#591D8B #8B1D86 #8B1D4F
triadic
#8B1D86 #868B1D #1D868B
tetradic
#8B1D86 #8B591D #1D8B22 #1D4F8B
square
#8B1D86 #8B591D #1D8B22 #1D4F8B
split-complementary
#8B1D86 #4F8B1D #1D8B59
monochromatic
#260824 #581255 #8B1D86 #BE28B7 #D949D3

Accessibility & contrast

On white

8.02
#8B1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D86
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D86#FFFFFF#000000##FFFFFF
##8B1D861.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#405583
Tritanopia (blue-blind)
#902D51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1d86;
/* rgb */ color: rgb(139, 29, 134);
/* oklch */ color: oklch(45.7% 0.184 330.1);
Tailwind
colors: {
  custom: {
    50: '#b067aa',
    500: '#8b1d86',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d86;
$custom-light: #b067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d86",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 302.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.18388,
    "h": 330.1
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#8B1D86
secondary
#49BB4E
accent
#E8473F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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