#8021AD#8021AD

#8021AD is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 311.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8021AD
RGBrgb(128, 33, 173)
HSLhsl(281, 68%, 40%)
HSVhsv(281, 81%, 68%)
CMYKcmyk(26%, 80.9%, 0%, 32.2%)
CIE-LABlab(35.39, 60.14, -55.01)
CIE-LCHlch(35.39, 81.50, 317.55°)
OKLaboklab(47.03% 0.1381 -0.1559)
OKLCHoklch(47.03% 0.208 311.5)
XYZxyz(16.9873, 8.6945, 40.3104)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8021AD #4EAD21
analogous
#3A21AD #8021AD #AD2194
triadic
#8021AD #AD8021 #21AD80
tetradic
#8021AD #AD3A21 #4EAD21 #2194AD
square
#8021AD #AD3A21 #4EAD21 #2194AD
split-complementary
#8021AD #94AD21 #21AD3A
monochromatic
#340D46 #5A177A #8021AD #A333D8 #BA66E2

Accessibility & contrast

On white

7.67
#8021AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8021AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8021AD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8021AD#FFFFFF#000000##FFFFFF
##8021AD1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#7A4568
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8021ad;
/* rgb */ color: rgb(128, 33, 173);
/* oklch */ color: oklch(47.0% 0.208 311.5);
Tailwind
colors: {
  custom: {
    50: '#aa69c6',
    500: '#8021ad',
    950: '#000000',
  },
}
SCSS
$custom: #8021ad;
$custom-light: #aa69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8021ad",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 280.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.20831,
    "h": 311.5
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#8021AD
secondary
#83C762
accent
#EB3D75
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8021AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8021AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva