#8B20B2#8B20B2

#8B20B2 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.9% C 0.217 H 314.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8B20B2
RGBrgb(139, 32, 178)
HSLhsl(284, 70%, 41%)
HSVhsv(284, 82%, 70%)
CMYKcmyk(21.9%, 82%, 0%, 30.2%)
CIE-LABlab(37.37, 63.34, -54.70)
CIE-LCHlch(37.37, 83.69, 319.19°)
OKLaboklab(48.87% 0.1521 -0.1547)
OKLCHoklch(48.87% 0.217 314.5)
XYZxyz(19.1985, 9.7370, 42.9790)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20B2 #47B220
analogous
#4220B2 #8B20B2 #B22090
triadic
#8B20B2 #B28B20 #20B28B
tetradic
#8B20B2 #B24220 #47B220 #2090B2
square
#8B20B2 #B24220 #47B220 #2090B2
split-complementary
#8B20B2 #90B220 #20B242
monochromatic
#3A0D4A #62177E #8B20B2 #AE35DB #C368E4

Accessibility & contrast

On white

7.13
#8B20B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8B20B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B20B2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20B2#FFFFFF#000000##FFFFFF
##8B20B21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#115AAF
Tritanopia (blue-blind)
#87456B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b20b2;
/* rgb */ color: rgb(139, 32, 178);
/* oklch */ color: oklch(48.9% 0.217 314.5);
Tailwind
colors: {
  custom: {
    50: '#b26aca',
    500: '#8b20b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b20b2;
$custom-light: #b26aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20b2",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 283.973,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48872,
    "c": 0.21691,
    "h": 314.5
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#8B20B2
secondary
#7FCA64
accent
#EC3B6B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B20B2

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

Preview Lab → · Contrast checker → · Palette generator →

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