#8022A1#8022A1

#8022A1 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.197 H 315.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8022A1
RGBrgb(128, 34, 161)
HSLhsl(284, 65%, 38%)
HSVhsv(284, 79%, 63%)
CMYKcmyk(20.5%, 78.9%, 0%, 36.9%)
CIE-LABlab(34.61, 57.37, -49.05)
CIE-LCHlch(34.61, 75.48, 319.47°)
OKLaboklab(46.21% 0.1397 -0.1384)
OKLCHoklch(46.21% 0.197 315.3)
XYZxyz(15.9061, 8.3071, 34.4769)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022A1 #43A122
analogous
#4022A1 #8022A1 #A12282
triadic
#8022A1 #A18022 #22A180
tetradic
#8022A1 #A14022 #43A122 #2282A1
square
#8022A1 #A14022 #43A122 #2282A1
split-complementary
#8022A1 #82A122 #22A140
monochromatic
#300D3C #58176E #8022A1 #A82DD3 #BD60DD

Accessibility & contrast

On white

7.89
#8022A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8022A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022A1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022A1#FFFFFF#000000##FFFFFF
##8022A11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#1C549E
Tritanopia (blue-blind)
#7D4061
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8022a1;
/* rgb */ color: rgb(128, 34, 161);
/* oklch */ color: oklch(46.2% 0.197 315.3);
Tailwind
colors: {
  custom: {
    50: '#a969be',
    500: '#8022a1',
    950: '#000000',
  },
}
SCSS
$custom: #8022a1;
$custom-light: #a969be;
$custom-dark: #000000;
JSON
{
  "hex": "#8022a1",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 284.409,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.19671,
    "h": 315.3
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#8022A1
secondary
#77C25D
accent
#E8406B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8022A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8022A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva