#8021AE#8021AE

#8021AE is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.209 H 311.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8021AE
RGBrgb(128, 33, 174)
HSLhsl(280, 68%, 41%)
HSVhsv(280, 81%, 68%)
CMYKcmyk(26.4%, 81%, 0%, 31.8%)
CIE-LABlab(35.47, 60.34, -55.48)
CIE-LCHlch(35.47, 81.97, 317.40°)
OKLaboklab(47.11% 0.1379 -0.1573)
OKLCHoklch(47.11% 0.209 311.2)
XYZxyz(17.0845, 8.7333, 40.8219)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8021AE #4FAE21
analogous
#3A21AE #8021AE #AE2195
triadic
#8021AE #AE8021 #21AE80
tetradic
#8021AE #AE3A21 #4FAE21 #2195AE
square
#8021AE #AE3A21 #4FAE21 #2195AE
split-complementary
#8021AE #95AE21 #21AE3A
monochromatic
#340D47 #5A177B #8021AE #A334D8 #BA67E2

Accessibility & contrast

On white

7.65
#8021AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8021AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8021AE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8021AE#FFFFFF#000000##FFFFFF
##8021AE1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#7A4569
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8021ae;
/* rgb */ color: rgb(128, 33, 174);
/* oklch */ color: oklch(47.1% 0.209 311.2);
Tailwind
colors: {
  custom: {
    50: '#aa69c7',
    500: '#8021ae',
    950: '#000000',
  },
}
SCSS
$custom: #8021ae;
$custom-light: #aa69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8021ae",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 280.426,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.2092,
    "h": 311.2
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#8021AE
secondary
#84C863
accent
#EB3D76
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8021AE

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

Preview Lab → · Contrast checker → · Palette generator →

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