#8B1A7A#8B1A7A

#8B1A7A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.178 H 335.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8B1A7A
RGBrgb(139, 26, 122)
HSLhsl(309, 68%, 32%)
HSVhsv(309, 81%, 55%)
CMYKcmyk(0%, 81.3%, 12.2%, 45.5%)
CIE-LABlab(33.21, 55.24, -27.15)
CIE-LCHlch(33.21, 61.55, 333.83°)
OKLaboklab(44.79% 0.1616 -0.0742)
OKLCHoklch(44.79% 0.178 335.3)
XYZxyz(14.5299, 7.6342, 19.1169)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A7A #1A8B2B
analogous
#641A8B #8B1A7A #8B1A41
triadic
#8B1A7A #7A8B1A #1A7A8B
tetradic
#8B1A7A #8B641A #1A8B2B #1A418B
square
#8B1A7A #8B641A #1A8B2B #1A418B
split-complementary
#8B1A7A #418B1A #1A8B64
monochromatic
#24071F #57104D #8B1A7A #BF24A7 #DC43C5

Accessibility & contrast

On white

8.31
#8B1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A7A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A7A#FFFFFF#000000##FFFFFF
##8B1A7A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#455477
Tritanopia (blue-blind)
#922549
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1a7a;
/* rgb */ color: rgb(139, 26, 122);
/* oklch */ color: oklch(44.8% 0.178 335.3);
Tailwind
colors: {
  custom: {
    50: '#b166a1',
    500: '#8b1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a7a;
$custom-light: #b166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a7a",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 309.027,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.17788,
    "h": 335.3
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#8B1A7A
secondary
#44BD56
accent
#EB573C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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