#8A20AF#8A20AF

#8A20AF is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.214 H 315.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A20AF
RGBrgb(138, 32, 175)
HSLhsl(284, 69%, 41%)
HSVhsv(284, 82%, 69%)
CMYKcmyk(21.1%, 81.7%, 0%, 31.4%)
CIE-LABlab(36.99, 62.58, -53.53)
CIE-LCHlch(36.99, 82.35, 319.46°)
OKLaboklab(48.51% 0.1514 -0.1513)
OKLCHoklch(48.51% 0.214 315)
XYZxyz(18.7343, 9.5322, 41.4022)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A20AF #45AF20
analogous
#4320AF #8A20AF #AF208C
triadic
#8A20AF #AF8A20 #20AF8A
tetradic
#8A20AF #AF4320 #45AF20 #208CAF
square
#8A20AF #AF4320 #45AF20 #208CAF
split-complementary
#8A20AF #8CAF20 #20AF43
monochromatic
#380D48 #61177B #8A20AF #AE33DA #C366E3

Accessibility & contrast

On white

7.23
#8A20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A20AF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A20AF#FFFFFF#000000##FFFFFF
##8A20AF1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#165AAC
Tritanopia (blue-blind)
#874369
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a20af;
/* rgb */ color: rgb(138, 32, 175);
/* oklch */ color: oklch(48.5% 0.214 315.0);
Tailwind
colors: {
  custom: {
    50: '#b16ac8',
    500: '#8a20af',
    950: '#000000',
  },
}
SCSS
$custom: #8a20af;
$custom-light: #b16ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a20af",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 284.476,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.21403,
    "h": 315
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#8A20AF
secondary
#7DC862
accent
#EC3C69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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