#8B1A80#8B1A80

#8B1A80 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 332.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8B1A80
RGBrgb(139, 26, 128)
HSLhsl(306, 68%, 32%)
HSVhsv(306, 81%, 55%)
CMYKcmyk(0%, 81.3%, 7.9%, 45.5%)
CIE-LABlab(33.54, 56.16, -30.39)
CIE-LCHlch(33.54, 63.86, 331.58°)
OKLaboklab(45.13% 0.1619 -0.0836)
OKLCHoklch(45.13% 0.182 332.7)
XYZxyz(14.9132, 7.7876, 21.1356)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A80 #1A8B25
analogous
#5E1A8B #8B1A80 #8B1A47
triadic
#8B1A80 #808B1A #1A808B
tetradic
#8B1A80 #8B5E1A #1A8B25 #1A478B
square
#8B1A80 #8B5E1A #1A8B25 #1A478B
split-complementary
#8B1A80 #478B1A #1A8B5E
monochromatic
#240721 #571051 #8B1A80 #BF24AF #DC43CD

Accessibility & contrast

On white

8.21
#8B1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A80
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A80#FFFFFF#000000##FFFFFF
##8B1A801.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124583
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#91284D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1a80;
/* rgb */ color: rgb(139, 26, 128);
/* oklch */ color: oklch(45.1% 0.182 332.7);
Tailwind
colors: {
  custom: {
    50: '#b166a5',
    500: '#8b1a80',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a80;
$custom-light: #b166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a80",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 305.841,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.1822,
    "h": 332.7
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#8B1A80
secondary
#44BD50
accent
#EB4D3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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