#8020A8#8020A8

#8020A8 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.6% C 0.205 H 313.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8020A8
RGBrgb(128, 32, 168)
HSLhsl(282, 68%, 39%)
HSVhsv(282, 81%, 66%)
CMYKcmyk(23.8%, 81%, 0%, 34.1%)
CIE-LABlab(34.90, 59.43, -52.80)
CIE-LCHlch(34.90, 79.50, 318.38°)
OKLaboklab(46.57% 0.14 -0.1494)
OKLCHoklch(46.57% 0.205 313.1)
XYZxyz(16.4852, 8.4499, 37.8008)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8020A8 #48A820
analogous
#3C20A8 #8020A8 #A8208C
triadic
#8020A8 #A88020 #20A880
tetradic
#8020A8 #A83C20 #48A820 #208CA8
square
#8020A8 #A83C20 #48A820 #208CA8
split-complementary
#8020A8 #8CA820 #20A83C
monochromatic
#320C41 #591675 #8020A8 #A52ED7 #BB61E1

Accessibility & contrast

On white

7.81
#8020A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8020A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8020A8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8020A8#FFFFFF#000000##FFFFFF
##8020A81.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0854A5
Tritanopia (blue-blind)
#7C4265
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8020a8;
/* rgb */ color: rgb(128, 32, 168);
/* oklch */ color: oklch(46.6% 0.205 313.1);
Tailwind
colors: {
  custom: {
    50: '#aa68c3',
    500: '#8020a8',
    950: '#000000',
  },
}
SCSS
$custom: #8020a8;
$custom-light: #aa68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8020a8",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 282.353,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.20477,
    "h": 313.1
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#8020A8
secondary
#7DC65E
accent
#EB3D70
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8020A8

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

Preview Lab → · Contrast checker → · Palette generator →

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