#8B20A1#8B20A1

#8B20A1 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.203 H 319.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8B20A1
RGBrgb(139, 32, 161)
HSLhsl(290, 67%, 38%)
HSVhsv(290, 80%, 63%)
CMYKcmyk(13.7%, 80.1%, 0%, 36.9%)
CIE-LABlab(36.17, 60.10, -46.46)
CIE-LCHlch(36.17, 75.96, 322.30°)
OKLaboklab(47.65% 0.1551 -0.1305)
OKLCHoklch(47.65% 0.203 319.9)
XYZxyz(17.5962, 9.0961, 34.5402)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20A1 #36A120
analogous
#4A20A1 #8B20A1 #A12077
triadic
#8B20A1 #A18B20 #20A18B
tetradic
#8B20A1 #A14A20 #36A120 #2077A1
square
#8B20A1 #A14A20 #36A120 #2077A1
split-complementary
#8B20A1 #77A120 #20A14A
monochromatic
#330C3B #5F166E #8B20A1 #B72AD4 #C95DDF

Accessibility & contrast

On white

7.45
#8B20A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B20A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B20A1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20A1#FFFFFF#000000##FFFFFF
##8B20A11.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#2D599E
Tritanopia (blue-blind)
#8B3C61
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b20a1;
/* rgb */ color: rgb(139, 32, 161);
/* oklch */ color: oklch(47.7% 0.203 319.9);
Tailwind
colors: {
  custom: {
    50: '#b169bd',
    500: '#8b20a1',
    950: '#000000',
  },
}
SCSS
$custom: #8b20a1;
$custom-light: #b169bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20a1",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 289.767,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.20264,
    "h": 319.9
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#8B20A1
secondary
#6CC35A
accent
#EA3E5B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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