#8B1D80#8B1D80

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

Color values

HEX#8B1D80
RGBrgb(139, 29, 128)
HSLhsl(306, 65%, 33%)
HSVhsv(306, 79%, 55%)
CMYKcmyk(0%, 79.1%, 7.9%, 45.5%)
CIE-LABlab(33.83, 55.31, -29.93)
CIE-LCHlch(33.83, 62.89, 331.58°)
OKLaboklab(45.34% 0.1594 -0.0823)
OKLCHoklch(45.34% 0.179 332.7)
XYZxyz(14.9832, 7.9275, 21.1589)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D80 #1D8B28
analogous
#5F1D8B #8B1D80 #8B1D49
triadic
#8B1D80 #808B1D #1D808B
tetradic
#8B1D80 #8B5F1D #1D8B28 #1D498B
square
#8B1D80 #8B5F1D #1D8B28 #1D498B
split-complementary
#8B1D80 #498B1D #1D8B5F
monochromatic
#260823 #581251 #8B1D80 #BE28AF #D949CB

Accessibility & contrast

On white

8.12
#8B1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D80
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D80#FFFFFF#000000##FFFFFF
##8B1D801.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#912A4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1d80;
/* rgb */ color: rgb(139, 29, 128);
/* oklch */ color: oklch(45.3% 0.179 332.7);
Tailwind
colors: {
  custom: {
    50: '#b067a5',
    500: '#8b1d80',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d80;
$custom-light: #b067a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d80",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 306,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.17938,
    "h": 332.7
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#8B1D80
secondary
#49BB54
accent
#E8503F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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