#8B1D8A#8B1D8A

#8B1D8A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 328.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8B1D8A
RGBrgb(139, 29, 138)
HSLhsl(301, 65%, 33%)
HSVhsv(301, 79%, 55%)
CMYKcmyk(0%, 79.1%, 0.7%, 45.5%)
CIE-LABlab(34.40, 56.93, -35.23)
CIE-LCHlch(34.40, 66.95, 328.25°)
OKLaboklab(45.93% 0.1594 -0.0977)
OKLCHoklch(45.93% 0.187 328.5)
XYZxyz(15.6741, 8.2039, 24.7978)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D8A #1D8B1E
analogous
#551D8B #8B1D8A #8B1D53
triadic
#8B1D8A #8A8B1D #1D8A8B
tetradic
#8B1D8A #8B551D #1D8B1E #1D538B
square
#8B1D8A #8B551D #1D8B1E #1D538B
split-complementary
#8B1D8A #538B1D #1D8B55
monochromatic
#260825 #581258 #8B1D8A #BE28BC #D949D8

Accessibility & contrast

On white

7.95
#8B1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D8A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D8A#FFFFFF#000000##FFFFFF
##8B1D8A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#902F53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1d8a;
/* rgb */ color: rgb(139, 29, 138);
/* oklch */ color: oklch(45.9% 0.187 328.5);
Tailwind
colors: {
  custom: {
    50: '#b167ac',
    500: '#8b1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d8a;
$custom-light: #b167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d8a",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 300.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45934,
    "c": 0.18696,
    "h": 328.5
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#8B1D8A
secondary
#49BB4A
accent
#E8413F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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