#8A20AD#8A20AD

#8A20AD is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.212 H 315.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A20AD
RGBrgb(138, 32, 173)
HSLhsl(285, 69%, 40%)
HSVhsv(285, 82%, 68%)
CMYKcmyk(20.2%, 81.5%, 0%, 32.2%)
CIE-LABlab(36.84, 62.19, -52.58)
CIE-LCHlch(36.84, 81.44, 319.79°)
OKLaboklab(48.36% 0.1518 -0.1484)
OKLCHoklch(48.36% 0.212 315.6)
XYZxyz(18.5394, 9.4542, 40.3753)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A20AD #43AD20
analogous
#4320AD #8A20AD #AD208A
triadic
#8A20AD #AD8A20 #20AD8A
tetradic
#8A20AD #AD4320 #43AD20 #208AAD
square
#8A20AD #AD4320 #43AD20 #208AAD
split-complementary
#8A20AD #8AAD20 #20AD43
monochromatic
#380D46 #611679 #8A20AD #AF31D9 #C365E2

Accessibility & contrast

On white

7.26
#8A20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A20AD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A20AD#FFFFFF#000000##FFFFFF
##8A20AD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#1A59AA
Tritanopia (blue-blind)
#874268
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a20ad;
/* rgb */ color: rgb(138, 32, 173);
/* oklch */ color: oklch(48.4% 0.212 315.6);
Tailwind
colors: {
  custom: {
    50: '#b16ac6',
    500: '#8a20ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a20ad;
$custom-light: #b16ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a20ad",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 285.106,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.21234,
    "h": 315.6
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#8A20AD
secondary
#7BC861
accent
#EC3C68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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