#8B1A7B#8B1A7B

#8B1A7B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.179 H 334.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8B1A7B
RGBrgb(139, 26, 123)
HSLhsl(308, 68%, 32%)
HSVhsv(308, 81%, 55%)
CMYKcmyk(0%, 81.3%, 11.5%, 45.5%)
CIE-LABlab(33.26, 55.39, -27.69)
CIE-LCHlch(33.26, 61.93, 333.44°)
OKLaboklab(44.85% 0.1617 -0.0758)
OKLCHoklch(44.85% 0.179 334.9)
XYZxyz(14.5922, 7.6592, 19.4449)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A7B #1A8B2A
analogous
#631A8B #8B1A7B #8B1A42
triadic
#8B1A7B #7B8B1A #1A7B8B
tetradic
#8B1A7B #8B631A #1A8B2A #1A428B
square
#8B1A7B #8B631A #1A8B2A #1A428B
split-complementary
#8B1A7B #428B1A #1A8B63
monochromatic
#240720 #57104D #8B1A7B #BF24A9 #DC43C6

Accessibility & contrast

On white

8.30
#8B1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1A7B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A7B#FFFFFF#000000##FFFFFF
##8B1A7B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#92254A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1a7b;
/* rgb */ color: rgb(139, 26, 123);
/* oklch */ color: oklch(44.8% 0.179 334.9);
Tailwind
colors: {
  custom: {
    50: '#b166a1',
    500: '#8b1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a7b;
$custom-light: #b166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a7b",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 308.496,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.17858,
    "h": 334.9
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#8B1A7B
secondary
#44BD55
accent
#EB553C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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