#8A20A0#8A20A0

#8A20A0 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.4% C 0.201 H 319.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8A20A0
RGBrgb(138, 32, 160)
HSLhsl(290, 67%, 38%)
HSVhsv(290, 80%, 63%)
CMYKcmyk(13.8%, 80%, 0%, 37.3%)
CIE-LABlab(35.94, 59.73, -46.23)
CIE-LCHlch(35.94, 75.53, 322.26°)
OKLaboklab(47.43% 0.154 -0.1298)
OKLCHoklch(47.43% 0.201 319.9)
XYZxyz(17.3421, 8.9753, 34.0698)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A20A0 #36A020
analogous
#4A20A0 #8A20A0 #A02076
triadic
#8A20A0 #A08A20 #20A08A
tetradic
#8A20A0 #A04A20 #36A020 #2076A0
square
#8A20A0 #A04A20 #36A020 #2076A0
split-complementary
#8A20A0 #76A020 #20A04A
monochromatic
#320C3A #5E166D #8A20A0 #B62AD3 #C85CDE

Accessibility & contrast

On white

7.51
#8A20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A20A0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A20A0#FFFFFF#000000##FFFFFF
##8A20A01.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#2C589D
Tritanopia (blue-blind)
#8A3C60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a20a0;
/* rgb */ color: rgb(138, 32, 160);
/* oklch */ color: oklch(47.4% 0.201 319.9);
Tailwind
colors: {
  custom: {
    50: '#b069bd',
    500: '#8a20a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a20a0;
$custom-light: #b069bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a20a0",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 289.688,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.20142,
    "h": 319.9
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#8A20A0
secondary
#6BC359
accent
#EA3E5C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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