#8B1AB4#8B1AB4

#8B1AB4 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.6% C 0.223 H 314.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8B1AB4
RGBrgb(139, 26, 180)
HSLhsl(284, 75%, 40%)
HSVhsv(284, 86%, 71%)
CMYKcmyk(22.8%, 85.6%, 0%, 29.4%)
CIE-LABlab(36.97, 65.31, -56.52)
CIE-LCHlch(36.97, 86.38, 319.13°)
OKLaboklab(48.64% 0.1555 -0.16)
OKLCHoklch(48.64% 0.223 314.2)
XYZxyz(19.2537, 9.5237, 43.9952)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1AB4 #43B41A
analogous
#3E1AB4 #8B1AB4 #B41A90
triadic
#8B1AB4 #B48B1A #1AB48B
tetradic
#8B1AB4 #B43E1A #43B41A #1A90B4
square
#8B1AB4 #B43E1A #43B41A #1A90B4
split-complementary
#8B1AB4 #90B41A #1AB43E
monochromatic
#380B49 #62127F #8B1AB4 #B02BE0 #C460E8

Accessibility & contrast

On white

7.23
#8B1AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B1AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1AB4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1AB4#FFFFFF#000000##FFFFFF
##8B1AB41.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#87436B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b1ab4;
/* rgb */ color: rgb(139, 26, 180);
/* oklch */ color: oklch(48.6% 0.223 314.2);
Tailwind
colors: {
  custom: {
    50: '#b268cb',
    500: '#8b1ab4',
    950: '#000000',
  },
}
SCSS
$custom: #8b1ab4;
$custom-light: #b268cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1ab4",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 284.026,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.22312,
    "h": 314.2
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#8B1AB4
secondary
#7BCC5D
accent
#F13668
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8B1AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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