#8B1A82#8B1A82

#8B1A82 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.184 H 331.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8B1A82
RGBrgb(139, 26, 130)
HSLhsl(305, 68%, 32%)
HSVhsv(305, 81%, 55%)
CMYKcmyk(0%, 81.3%, 6.5%, 45.5%)
CIE-LABlab(33.65, 56.47, -31.46)
CIE-LCHlch(33.65, 64.65, 330.88°)
OKLaboklab(45.25% 0.1619 -0.0867)
OKLCHoklch(45.25% 0.184 331.8)
XYZxyz(15.0462, 7.8407, 21.8357)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A82 #1A8B23
analogous
#5C1A8B #8B1A82 #8B1A49
triadic
#8B1A82 #828B1A #1A828B
tetradic
#8B1A82 #8B5C1A #1A8B23 #1A498B
square
#8B1A82 #8B5C1A #1A8B23 #1A498B
split-complementary
#8B1A82 #498B1A #1A8B5C
monochromatic
#240722 #571052 #8B1A82 #BF24B2 #DC43D0

Accessibility & contrast

On white

8.18
#8B1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A82
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A82#FFFFFF#000000##FFFFFF
##8B1A821.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4585
Deuteranopia (green-blind)
#41557F
Tritanopia (blue-blind)
#91294E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1a82;
/* rgb */ color: rgb(139, 26, 130);
/* oklch */ color: oklch(45.2% 0.184 331.8);
Tailwind
colors: {
  custom: {
    50: '#b166a7',
    500: '#8b1a82',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a82;
$custom-light: #b166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a82",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 304.779,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.18367,
    "h": 331.8
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#8B1A82
secondary
#44BD4D
accent
#EB4A3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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