#8B1AB0#8B1AB0

#8B1AB0 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.3% C 0.220 H 315.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8B1AB0
RGBrgb(139, 26, 176)
HSLhsl(285, 74%, 40%)
HSVhsv(285, 85%, 69%)
CMYKcmyk(21%, 85.2%, 0%, 31%)
CIE-LABlab(36.67, 64.55, -54.63)
CIE-LCHlch(36.67, 84.56, 319.76°)
OKLaboklab(48.34% 0.1565 -0.1544)
OKLCHoklch(48.34% 0.22 315.4)
XYZxyz(18.8520, 9.3631, 41.8801)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1AB0 #3FB01A
analogous
#401AB0 #8B1AB0 #B01A8A
triadic
#8B1AB0 #B08B1A #1AB08B
tetradic
#8B1AB0 #B0401A #3FB01A #1A8AB0
square
#8B1AB0 #B0401A #3FB01A #1A8AB0
split-complementary
#8B1AB0 #8AB01A #1AB040
monochromatic
#370A45 #61127B #8B1AB0 #B228DF #C55DE7

Accessibility & contrast

On white

7.31
#8B1AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8B1AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1AB0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1AB0#FFFFFF#000000##FFFFFF
##8B1AB01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0F59AD
Tritanopia (blue-blind)
#884169
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b1ab0;
/* rgb */ color: rgb(139, 26, 176);
/* oklch */ color: oklch(48.3% 0.220 315.4);
Tailwind
colors: {
  custom: {
    50: '#b268c8',
    500: '#8b1ab0',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ab0;
$custom-light: #b268c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ab0",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 176
  },
  "hsl": {
    "h": 285.2,
    "s": 74.257,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.21984,
    "h": 315.4
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#8B1AB0
secondary
#76CB5B
accent
#F13765
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B1AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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