#8B20BB#8B20BB

#8B20BB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.6% C 0.225 H 311.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8B20BB
RGBrgb(139, 32, 187)
HSLhsl(281, 71%, 43%)
HSVhsv(281, 83%, 73%)
CMYKcmyk(25.7%, 82.9%, 0%, 26.7%)
CIE-LABlab(38.04, 65.12, -58.93)
CIE-LCHlch(38.04, 87.82, 317.85°)
OKLaboklab(49.55% 0.15 -0.1671)
OKLCHoklch(49.55% 0.225 311.9)
XYZxyz(20.1319, 10.1104, 47.8951)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20BB #50BB20
analogous
#3D20BB #8B20BB #BB209E
triadic
#8B20BB #BB8B20 #20BB8B
tetradic
#8B20BB #BB3D20 #50BB20 #209EBB
square
#8B20BB #BB3D20 #50BB20 #209EBB
split-complementary
#8B20BB #9EBB20 #20BB3D
monochromatic
#3D0E52 #641787 #8B20BB #AB3BDD #C16FE6

Accessibility & contrast

On white

6.95
#8B20BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8B20BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B20BB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20BB#FFFFFF#000000##FFFFFF
##8B20BB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#854970
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b20bb;
/* rgb */ color: rgb(139, 32, 187);
/* oklch */ color: oklch(49.6% 0.225 311.9);
Tailwind
colors: {
  custom: {
    50: '#b26bd0',
    500: '#8b20bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b20bb;
$custom-light: #b26bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20bb",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 281.419,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.22456,
    "h": 311.9
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#8B20BB
secondary
#89CD6A
accent
#EE3A72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8B20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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