#8B1B82#8B1B82

#8B1B82 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 331.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8B1B82
RGBrgb(139, 27, 130)
HSLhsl(305, 67%, 33%)
HSVhsv(305, 81%, 55%)
CMYKcmyk(0%, 80.6%, 6.5%, 45.5%)
CIE-LABlab(33.74, 56.20, -31.31)
CIE-LCHlch(33.74, 64.34, 330.87°)
OKLaboklab(45.32% 0.1611 -0.0863)
OKLCHoklch(45.32% 0.183 331.8)
XYZxyz(15.0687, 7.8858, 21.8432)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B82 #1B8B24
analogous
#5C1B8B #8B1B82 #8B1B4A
triadic
#8B1B82 #828B1B #1B828B
tetradic
#8B1B82 #8B5C1B #1B8B24 #1B4A8B
square
#8B1B82 #8B5C1B #1B8B24 #1B4A8B
split-complementary
#8B1B82 #4A8B1B #1B8B5C
monochromatic
#250722 #581152 #8B1B82 #BE25B2 #DB45CF

Accessibility & contrast

On white

8.15
#8B1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B82
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B82#FFFFFF#000000##FFFFFF
##8B1B821.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104585
Deuteranopia (green-blind)
#41557F
Tritanopia (blue-blind)
#912A4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1b82;
/* rgb */ color: rgb(139, 27, 130);
/* oklch */ color: oklch(45.3% 0.183 331.8);
Tailwind
colors: {
  custom: {
    50: '#b166a7',
    500: '#8b1b82',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b82;
$custom-light: #b166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b82",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 304.821,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.18276,
    "h": 331.8
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#8B1B82
secondary
#45BC4F
accent
#EA4B3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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