#8B1D82#8B1D82

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

Color values

HEX#8B1D82
RGBrgb(139, 29, 130)
HSLhsl(305, 65%, 33%)
HSVhsv(305, 79%, 55%)
CMYKcmyk(0%, 79.1%, 6.5%, 45.5%)
CIE-LABlab(33.94, 55.63, -31.00)
CIE-LCHlch(33.94, 63.68, 330.87°)
OKLaboklab(45.46% 0.1595 -0.0854)
OKLCHoklch(45.46% 0.181 331.8)
XYZxyz(15.1161, 7.9807, 21.8591)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D82 #1D8B26
analogous
#5D1D8B #8B1D82 #8B1D4B
triadic
#8B1D82 #828B1D #1D828B
tetradic
#8B1D82 #8B5D1D #1D8B26 #1D4B8B
square
#8B1D82 #8B5D1D #1D8B26 #1D4B8B
split-complementary
#8B1D82 #4B8B1D #1D8B5D
monochromatic
#260823 #581253 #8B1D82 #BE28B1 #D949CD

Accessibility & contrast

On white

8.09
#8B1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1D82
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D82#FFFFFF#000000##FFFFFF
##8B1D821.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#912B4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1d82;
/* rgb */ color: rgb(139, 29, 130);
/* oklch */ color: oklch(45.5% 0.181 331.8);
Tailwind
colors: {
  custom: {
    50: '#b067a7',
    500: '#8b1d82',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d82;
$custom-light: #b067a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d82",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 304.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45456,
    "c": 0.18087,
    "h": 331.8
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#8B1D82
secondary
#49BB52
accent
#E84D3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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