#8B1B9E#8B1B9E

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

Color values

HEX#8B1B9E
RGBrgb(139, 27, 158)
HSLhsl(291, 71%, 36%)
HSVhsv(291, 83%, 62%)
CMYKcmyk(12%, 82.9%, 0%, 38%)
CIE-LABlab(35.48, 60.96, -45.74)
CIE-LCHlch(35.48, 76.21, 323.11°)
OKLaboklab(47.11% 0.1592 -0.1283)
OKLCHoklch(47.11% 0.204 321.1)
XYZxyz(17.2102, 8.7424, 33.1221)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B9E #2E9E1B
analogous
#4A1B9E #8B1B9E #9E1B70
triadic
#8B1B9E #9E8B1B #1B9E8B
tetradic
#8B1B9E #9E4A1B #2E9E1B #1B709E
square
#8B1B9E #9E4A1B #2E9E1B #1B709E
split-complementary
#8B1B9E #709E1B #1B9E4A
monochromatic
#2F0935 #5D126A #8B1B9E #B924D2 #CD52E1

Accessibility & contrast

On white

7.64
#8B1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1B9E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B9E#FFFFFF#000000##FFFFFF
##8B1B9E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#8C395E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b1b9e;
/* rgb */ color: rgb(139, 27, 158);
/* oklch */ color: oklch(47.1% 0.204 321.1);
Tailwind
colors: {
  custom: {
    50: '#b168bb',
    500: '#8b1b9e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b9e;
$custom-light: #b168bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b9e",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 291.298,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.20449,
    "h": 321.1
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#8B1B9E
secondary
#61C451
accent
#EE3A54
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B1B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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