#8B20AD#8B20AD

#8B20AD is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.213 H 316.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8B20AD
RGBrgb(139, 32, 173)
HSLhsl(286, 69%, 40%)
HSVhsv(286, 82%, 68%)
CMYKcmyk(19.7%, 81.5%, 0%, 32.2%)
CIE-LABlab(37.00, 62.37, -52.31)
CIE-LCHlch(37.00, 81.40, 320.01°)
OKLaboklab(48.5% 0.1531 -0.1476)
OKLCHoklch(48.5% 0.213 316)
XYZxyz(18.7056, 9.5399, 40.3831)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20AD #42AD20
analogous
#4520AD #8B20AD #AD2088
triadic
#8B20AD #AD8B20 #20AD8B
tetradic
#8B20AD #AD4520 #42AD20 #2088AD
square
#8B20AD #AD4520 #42AD20 #2088AD
split-complementary
#8B20AD #88AD20 #20AD45
monochromatic
#380D46 #621679 #8B20AD #B131D9 #C465E2

Accessibility & contrast

On white

7.22
#8B20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B20AD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20AD#FFFFFF#000000##FFFFFF
##8B20AD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#1D5AAA
Tritanopia (blue-blind)
#894268
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b20ad;
/* rgb */ color: rgb(139, 32, 173);
/* oklch */ color: oklch(48.5% 0.213 316.0);
Tailwind
colors: {
  custom: {
    50: '#b16ac6',
    500: '#8b20ad',
    950: '#000000',
  },
}
SCSS
$custom: #8b20ad;
$custom-light: #b16ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20ad",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 285.532,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.21268,
    "h": 316
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#8B20AD
secondary
#7AC861
accent
#EC3C66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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