#8B1B80#8B1B80

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

Color values

HEX#8B1B80
RGBrgb(139, 27, 128)
HSLhsl(306, 67%, 33%)
HSVhsv(306, 81%, 55%)
CMYKcmyk(0%, 80.6%, 7.9%, 45.5%)
CIE-LABlab(33.63, 55.89, -30.24)
CIE-LCHlch(33.63, 63.54, 331.58°)
OKLaboklab(45.2% 0.1611 -0.0832)
OKLCHoklch(45.2% 0.181 332.7)
XYZxyz(14.9358, 7.8326, 21.1431)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B80 #1B8B26
analogous
#5E1B8B #8B1B80 #8B1B48
triadic
#8B1B80 #808B1B #1B808B
tetradic
#8B1B80 #8B5E1B #1B8B26 #1B488B
square
#8B1B80 #8B5E1B #1B8B26 #1B488B
split-complementary
#8B1B80 #488B1B #1B8B5E
monochromatic
#250722 #581151 #8B1B80 #BE25AF #DB45CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1B80#FFFFFF#000000##FFFFFF
##8B1B801.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)
#134583
Deuteranopia (green-blind)
#42557D
Tritanopia (blue-blind)
#91294D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1b80;
/* rgb */ color: rgb(139, 27, 128);
/* oklch */ color: oklch(45.2% 0.181 332.7);
Tailwind
colors: {
  custom: {
    50: '#b166a5',
    500: '#8b1b80',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b80;
$custom-light: #b166a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b80",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 305.893,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.18129,
    "h": 332.7
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#8B1B80
secondary
#45BC51
accent
#EA4E3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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