#8B1E81#8B1E81

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

Color values

HEX#8B1E81
RGBrgb(139, 30, 129)
HSLhsl(306, 64%, 33%)
HSVhsv(306, 78%, 55%)
CMYKcmyk(0%, 78.4%, 7.2%, 45.5%)
CIE-LABlab(33.99, 55.17, -30.30)
CIE-LCHlch(33.99, 62.94, 331.22°)
OKLaboklab(45.47% 0.1586 -0.0834)
OKLCHoklch(45.47% 0.179 332.3)
XYZxyz(15.0742, 8.0038, 21.5156)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E81 #1E8B28
analogous
#5F1E8B #8B1E81 #8B1E4A
triadic
#8B1E81 #818B1E #1E818B
tetradic
#8B1E81 #8B5F1E #1E8B28 #1E4A8B
square
#8B1E81 #8B5F1E #1E8B28 #1E4A8B
split-complementary
#8B1E81 #4A8B1E #1E8B5F
monochromatic
#260824 #591352 #8B1E81 #BD29B0 #D84BCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1E81#FFFFFF#000000##FFFFFF
##8B1E811.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)
#164684
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#912B4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1e81;
/* rgb */ color: rgb(139, 30, 129);
/* oklch */ color: oklch(45.5% 0.179 332.3);
Tailwind
colors: {
  custom: {
    50: '#b067a6',
    500: '#8b1e81',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e81;
$custom-light: #b067a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e81",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 305.505,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.17914,
    "h": 332.3
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#8B1E81
secondary
#4ABB54
accent
#E75040
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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