#8020A2#8020A2

#8020A2 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.200 H 315.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8020A2
RGBrgb(128, 32, 162)
HSLhsl(284, 67%, 38%)
HSVhsv(284, 80%, 64%)
CMYKcmyk(21%, 80.2%, 0%, 36.5%)
CIE-LABlab(34.46, 58.22, -49.90)
CIE-LCHlch(34.46, 76.68, 319.40°)
OKLaboklab(46.12% 0.1412 -0.1409)
OKLCHoklch(46.12% 0.2 315.1)
XYZxyz(15.9391, 8.2315, 34.9246)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8020A2 #42A220
analogous
#3F20A2 #8020A2 #A22083
triadic
#8020A2 #A28020 #20A280
tetradic
#8020A2 #A23F20 #42A220 #2083A2
square
#8020A2 #A23F20 #42A220 #2083A2
split-complementary
#8020A2 #83A220 #20A23F
monochromatic
#2F0C3C #58166F #8020A2 #A82AD5 #BD5DDF

Accessibility & contrast

On white

7.94
#8020A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8020A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8020A2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8020A2#FFFFFF#000000##FFFFFF
##8020A21.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#7D3F61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8020a2;
/* rgb */ color: rgb(128, 32, 162);
/* oklch */ color: oklch(46.1% 0.200 315.1);
Tailwind
colors: {
  custom: {
    50: '#a968be',
    500: '#8020a2',
    950: '#000000',
  },
}
SCSS
$custom: #8020a2;
$custom-light: #a968be;
$custom-dark: #000000;
JSON
{
  "hex": "#8020a2",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 284.308,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.1995,
    "h": 315.1
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#8020A2
secondary
#76C35A
accent
#EA3E6B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8020A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8020A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva