#8B20B3#8B20B3

#8B20B3 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.218 H 314.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8B20B3
RGBrgb(139, 32, 179)
HSLhsl(284, 70%, 41%)
HSVhsv(284, 82%, 70%)
CMYKcmyk(22.3%, 82.1%, 0%, 29.8%)
CIE-LABlab(37.44, 63.54, -55.17)
CIE-LCHlch(37.44, 84.15, 319.03°)
OKLaboklab(48.95% 0.1519 -0.156)
OKLCHoklch(48.95% 0.218 314.2)
XYZxyz(19.2993, 9.7774, 43.5097)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20B3 #48B320
analogous
#4120B3 #8B20B3 #B32092
triadic
#8B20B3 #B38B20 #20B38B
tetradic
#8B20B3 #B34120 #48B320 #2092B3
square
#8B20B3 #B34120 #48B320 #2092B3
split-complementary
#8B20B3 #92B320 #20B341
monochromatic
#3A0D4B #63177F #8B20B3 #AE35DB #C369E4

Accessibility & contrast

On white

7.11
#8B20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B20B3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20B3#FFFFFF#000000##FFFFFF
##8B20B31.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0E5AB0
Tritanopia (blue-blind)
#87456B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b20b3;
/* rgb */ color: rgb(139, 32, 179);
/* oklch */ color: oklch(48.9% 0.218 314.2);
Tailwind
colors: {
  custom: {
    50: '#b26acb',
    500: '#8b20b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b20b3;
$custom-light: #b26acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20b3",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 283.673,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.21775,
    "h": 314.2
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#8B20B3
secondary
#80CA65
accent
#EC3B6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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