#8020A7#8020A7

#8020A7 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.204 H 313.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8020A7
RGBrgb(128, 32, 167)
HSLhsl(283, 68%, 39%)
HSVhsv(283, 81%, 65%)
CMYKcmyk(23.4%, 80.8%, 0%, 34.5%)
CIE-LABlab(34.83, 59.23, -52.32)
CIE-LCHlch(34.83, 79.03, 318.54°)
OKLaboklab(46.49% 0.1402 -0.148)
OKLCHoklch(46.49% 0.204 313.4)
XYZxyz(16.3924, 8.4128, 37.3120)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8020A7 #47A720
analogous
#3D20A7 #8020A7 #A7208B
triadic
#8020A7 #A78020 #20A780
tetradic
#8020A7 #A73D20 #47A720 #208BA7
square
#8020A7 #A73D20 #47A720 #208BA7
split-complementary
#8020A7 #8BA720 #20A73D
monochromatic
#310C40 #591674 #8020A7 #A62DD7 #BC61E1

Accessibility & contrast

On white

7.83
#8020A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8020A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8020A7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8020A7#FFFFFF#000000##FFFFFF
##8020A71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0C54A4
Tritanopia (blue-blind)
#7C4164
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8020a7;
/* rgb */ color: rgb(128, 32, 167);
/* oklch */ color: oklch(46.5% 0.204 313.4);
Tailwind
colors: {
  custom: {
    50: '#aa68c2',
    500: '#8020a7',
    950: '#000000',
  },
}
SCSS
$custom: #8020a7;
$custom-light: #aa68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8020a7",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 282.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.20389,
    "h": 313.4
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#8020A7
secondary
#7BC55D
accent
#EB3D6F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8020A7

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

Preview Lab → · Contrast checker → · Palette generator →

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