#8B20A5#8B20A5

#8B20A5 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.206 H 318.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8B20A5
RGBrgb(139, 32, 165)
HSLhsl(288, 68%, 39%)
HSVhsv(288, 81%, 65%)
CMYKcmyk(15.8%, 80.6%, 0%, 35.3%)
CIE-LABlab(36.44, 60.85, -48.43)
CIE-LCHlch(36.44, 77.77, 321.49°)
OKLaboklab(47.93% 0.1545 -0.1362)
OKLCHoklch(47.93% 0.206 318.6)
XYZxyz(17.9546, 9.2395, 36.4277)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20A5 #3AA520
analogous
#4820A5 #8B20A5 #A5207C
triadic
#8B20A5 #A58B20 #20A58B
tetradic
#8B20A5 #A54820 #3AA520 #207CA5
square
#8B20A5 #A54820 #3AA520 #207CA5
split-complementary
#8B20A5 #7CA520 #20A548
monochromatic
#350C3E #601672 #8B20A5 #B52CD6 #C75FE0

Accessibility & contrast

On white

7.37
#8B20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B20A5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20A5#FFFFFF#000000##FFFFFF
##8B20A51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#2859A2
Tritanopia (blue-blind)
#8A3E63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b20a5;
/* rgb */ color: rgb(139, 32, 165);
/* oklch */ color: oklch(47.9% 0.206 318.6);
Tailwind
colors: {
  custom: {
    50: '#b16ac0',
    500: '#8b20a5',
    950: '#000000',
  },
}
SCSS
$custom: #8b20a5;
$custom-light: #b16ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20a5",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 288.271,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4793,
    "c": 0.20597,
    "h": 318.6
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#8B20A5
secondary
#71C55C
accent
#EA3D5F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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