#8B20B4#8B20B4

#8B20B4 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.219 H 313.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8B20B4
RGBrgb(139, 32, 180)
HSLhsl(283, 70%, 42%)
HSVhsv(283, 82%, 71%)
CMYKcmyk(22.8%, 82.2%, 0%, 29.4%)
CIE-LABlab(37.51, 63.73, -55.65)
CIE-LCHlch(37.51, 84.61, 318.87°)
OKLaboklab(49.02% 0.1516 -0.1574)
OKLCHoklch(49.02% 0.219 313.9)
XYZxyz(19.4008, 9.8180, 44.0443)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20B4 #49B420
analogous
#4120B4 #8B20B4 #B42093
triadic
#8B20B4 #B48B20 #20B48B
tetradic
#8B20B4 #B44120 #49B420 #2093B4
square
#8B20B4 #B44120 #49B420 #2093B4
split-complementary
#8B20B4 #93B420 #20B441
monochromatic
#3B0E4C #631780 #8B20B4 #AD36DB #C36AE4

Accessibility & contrast

On white

7.09
#8B20B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B20B4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20B4#FFFFFF#000000##FFFFFF
##8B20B41.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0B5BB1
Tritanopia (blue-blind)
#87466C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b20b4;
/* rgb */ color: rgb(139, 32, 180);
/* oklch */ color: oklch(49.0% 0.219 313.9);
Tailwind
colors: {
  custom: {
    50: '#b26acb',
    500: '#8b20b4',
    950: '#000000',
  },
}
SCSS
$custom: #8b20b4;
$custom-light: #b26acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20b4",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 283.378,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.21859,
    "h": 313.9
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#8B20B4
secondary
#81CA66
accent
#ED3B6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8B20B4

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

Preview Lab → · Contrast checker → · Palette generator →

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