#8A20A5#8A20A5

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

Color values

HEX#8A20A5
RGBrgb(138, 32, 165)
HSLhsl(288, 68%, 39%)
HSVhsv(288, 81%, 65%)
CMYKcmyk(16.4%, 80.6%, 0%, 35.3%)
CIE-LABlab(36.28, 60.66, -48.70)
CIE-LCHlch(36.28, 77.79, 321.24°)
OKLaboklab(47.78% 0.1533 -0.1371)
OKLCHoklch(47.78% 0.206 318.2)
XYZxyz(17.7883, 9.1538, 36.4199)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A20A5 #3BA520
analogous
#4820A5 #8A20A5 #A5207D
triadic
#8A20A5 #A58A20 #20A58A
tetradic
#8A20A5 #A54820 #3BA520 #207DA5
square
#8A20A5 #A54820 #3BA520 #207DA5
split-complementary
#8A20A5 #7DA520 #20A548
monochromatic
#340C3E #5F1672 #8A20A5 #B42CD6 #C65FE0

Accessibility & contrast

On white

7.42
#8A20A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A20A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A20A5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A20A5#FFFFFF#000000##FFFFFF
##8A20A51.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#2758A2
Tritanopia (blue-blind)
#893F63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a20a5;
/* rgb */ color: rgb(138, 32, 165);
/* oklch */ color: oklch(47.8% 0.206 318.2);
Tailwind
colors: {
  custom: {
    50: '#b06ac0',
    500: '#8a20a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a20a5;
$custom-light: #b06ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a20a5",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 287.82,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.2056,
    "h": 318.2
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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