#8B16A0#8B16A0

#8B16A0 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.0% C 0.210 H 320.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8B16A0
RGBrgb(139, 22, 160)
HSLhsl(291, 76%, 36%)
HSVhsv(291, 86%, 63%)
CMYKcmyk(13.1%, 86.3%, 0%, 37.3%)
CIE-LABlab(35.21, 62.53, -47.40)
CIE-LCHlch(35.21, 78.47, 322.84°)
OKLaboklab(46.95% 0.1621 -0.1332)
OKLCHoklch(46.95% 0.21 320.6)
XYZxyz(17.2788, 8.6018, 34.0011)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B16A0 #2BA016
analogous
#4616A0 #8B16A0 #A01670
triadic
#8B16A0 #A08B16 #16A08B
tetradic
#8B16A0 #A04616 #2BA016 #1670A0
square
#8B16A0 #A04616 #2BA016 #1670A0
split-complementary
#8B16A0 #70A016 #16A046
monochromatic
#2E0734 #5C0F6A #8B16A0 #BA1DD6 #CE4AE6

Accessibility & contrast

On white

7.72
#8B16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B16A0
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B16A0#FFFFFF#000000##FFFFFF
##8B16A01.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#28579D
Tritanopia (blue-blind)
#8C385F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b16a0;
/* rgb */ color: rgb(139, 22, 160);
/* oklch */ color: oklch(47.0% 0.210 320.6);
Tailwind
colors: {
  custom: {
    50: '#b166bd',
    500: '#8b16a0',
    950: '#000000',
  },
}
SCSS
$custom: #8b16a0;
$custom-light: #b166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b16a0",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 290.87,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.20979,
    "h": 320.6
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#8B16A0
secondary
#5DC84A
accent
#F23552
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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