#8B1E86#8B1E86

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

Color values

HEX#8B1E86
RGBrgb(139, 30, 134)
HSLhsl(303, 64%, 33%)
HSVhsv(303, 78%, 55%)
CMYKcmyk(0%, 78.4%, 3.6%, 45.5%)
CIE-LABlab(34.27, 55.98, -32.96)
CIE-LCHlch(34.27, 64.96, 329.51°)
OKLaboklab(45.77% 0.1586 -0.0911)
OKLCHoklch(45.77% 0.183 330.1)
XYZxyz(15.4147, 8.1400, 23.3089)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E86 #1E8B23
analogous
#591E8B #8B1E86 #8B1E4F
triadic
#8B1E86 #868B1E #1E868B
tetradic
#8B1E86 #8B591E #1E8B23 #1E4F8B
square
#8B1E86 #8B591E #1E8B23 #1E4F8B
split-complementary
#8B1E86 #4F8B1E #1E8B59
monochromatic
#260825 #591355 #8B1E86 #BD29B7 #D84BD2

Accessibility & contrast

On white

7.99
#8B1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E86
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E86#FFFFFF#000000##FFFFFF
##8B1E861.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#405683
Tritanopia (blue-blind)
#902E51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1e86;
/* rgb */ color: rgb(139, 30, 134);
/* oklch */ color: oklch(45.8% 0.183 330.1);
Tailwind
colors: {
  custom: {
    50: '#b067aa',
    500: '#8b1e86',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e86;
$custom-light: #b067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e86",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 302.752,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.18292,
    "h": 330.1
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#8B1E86
secondary
#4ABB4F
accent
#E74840
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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