#8B1A88#8B1A88

#8B1A88 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.188 H 329.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8B1A88
RGBrgb(139, 26, 136)
HSLhsl(302, 68%, 32%)
HSVhsv(302, 81%, 55%)
CMYKcmyk(0%, 81.3%, 2.2%, 45.5%)
CIE-LABlab(34.00, 57.44, -34.64)
CIE-LCHlch(34.00, 67.08, 328.90°)
OKLaboklab(45.61% 0.1619 -0.0959)
OKLCHoklch(45.61% 0.188 329.3)
XYZxyz(15.4607, 8.0065, 24.0189)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A88 #1A8B1D
analogous
#561A8B #8B1A88 #8B1A4F
triadic
#8B1A88 #888B1A #1A888B
tetradic
#8B1A88 #8B561A #1A8B1D #1A4F8B
square
#8B1A88 #8B561A #1A8B1D #1A4F8B
split-complementary
#8B1A88 #4F8B1A #1A8B56
monochromatic
#240723 #571056 #8B1A88 #BF24BA #DC43D8

Accessibility & contrast

On white

8.07
#8B1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A88
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A88#FFFFFF#000000##FFFFFF
##8B1A881.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#902C51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1a88;
/* rgb */ color: rgb(139, 26, 136);
/* oklch */ color: oklch(45.6% 0.188 329.3);
Tailwind
colors: {
  custom: {
    50: '#b166ab',
    500: '#8b1a88',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a88;
$custom-light: #b166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a88",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 301.593,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.18815,
    "h": 329.3
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#8B1A88
secondary
#44BD47
accent
#EB413C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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