#8B1A9F#8B1A9F

#8B1A9F is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.206 H 320.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8B1A9F
RGBrgb(139, 26, 159)
HSLhsl(291, 72%, 36%)
HSVhsv(291, 84%, 62%)
CMYKcmyk(12.6%, 83.6%, 0%, 37.6%)
CIE-LABlab(35.46, 61.40, -46.38)
CIE-LCHlch(35.46, 76.95, 322.93°)
OKLaboklab(47.11% 0.1597 -0.1302)
OKLCHoklch(47.11% 0.206 320.8)
XYZxyz(17.2741, 8.7319, 33.5697)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A9F #2E9F1A
analogous
#481A9F #8B1A9F #9F1A71
triadic
#8B1A9F #9F8B1A #1A9F8B
tetradic
#8B1A9F #9F481A #2E9F1A #1A719F
square
#8B1A9F #9F481A #2E9F1A #1A719F
split-complementary
#8B1A9F #719F1A #1A9F48
monochromatic
#2F0936 #5D116A #8B1A9F #B923D4 #CD51E3

Accessibility & contrast

On white

7.65
#8B1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A9F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A9F#FFFFFF#000000##FFFFFF
##8B1A9F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#2C579C
Tritanopia (blue-blind)
#8C395F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1a9f;
/* rgb */ color: rgb(139, 26, 159);
/* oklch */ color: oklch(47.1% 0.206 320.8);
Tailwind
colors: {
  custom: {
    50: '#b167bc',
    500: '#8b1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a9f;
$custom-light: #b167bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a9f",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 290.977,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.20609,
    "h": 320.8
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#8B1A9F
secondary
#61C550
accent
#EF3954
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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