#8221A4#8221A4

#8221A4 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 315.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8221A4
RGBrgb(130, 33, 164)
HSLhsl(284, 66%, 39%)
HSVhsv(284, 80%, 64%)
CMYKcmyk(20.7%, 79.9%, 0%, 35.7%)
CIE-LABlab(35.03, 58.67, -50.17)
CIE-LCHlch(35.03, 77.20, 319.47°)
OKLaboklab(46.63% 0.1426 -0.1417)
OKLCHoklch(46.63% 0.201 315.2)
XYZxyz(16.4495, 8.5145, 35.8917)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8221A4 #43A421
analogous
#4021A4 #8221A4 #A42184
triadic
#8221A4 #A48221 #21A482
tetradic
#8221A4 #A44021 #43A421 #2184A4
square
#8221A4 #A44021 #43A421 #2184A4
split-complementary
#8221A4 #84A421 #21A440
monochromatic
#310C3E #5A1771 #8221A4 #A92DD5 #BE60DF

Accessibility & contrast

On white

7.77
#8221A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8221A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8221A4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8221A4#FFFFFF#000000##FFFFFF
##8221A41.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#1A55A1
Tritanopia (blue-blind)
#7F4063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8221a4;
/* rgb */ color: rgb(130, 33, 164);
/* oklch */ color: oklch(46.6% 0.201 315.2);
Tailwind
colors: {
  custom: {
    50: '#ab69c0',
    500: '#8221a4',
    950: '#000000',
  },
}
SCSS
$custom: #8221a4;
$custom-light: #ab69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8221a4",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 284.427,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.201,
    "h": 315.2
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#8221A4
secondary
#78C45D
accent
#E93E6B
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8221A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8221A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva