#8221A2#8221A2

#8221A2 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.199 H 315.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8221A2
RGBrgb(130, 33, 162)
HSLhsl(285, 66%, 38%)
HSVhsv(285, 80%, 64%)
CMYKcmyk(19.8%, 79.6%, 0%, 36.5%)
CIE-LABlab(34.89, 58.28, -49.20)
CIE-LCHlch(34.89, 76.27, 319.83°)
OKLaboklab(46.48% 0.143 -0.1388)
OKLCHoklch(46.48% 0.199 315.8)
XYZxyz(16.2703, 8.4428, 34.9480)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8221A2 #41A221
analogous
#4121A2 #8221A2 #A22181
triadic
#8221A2 #A28221 #21A282
tetradic
#8221A2 #A24121 #41A221 #2181A2
square
#8221A2 #A24121 #41A221 #2181A2
split-complementary
#8221A2 #81A221 #21A241
monochromatic
#300C3C #59176F #8221A2 #AA2CD4 #BF5FDE

Accessibility & contrast

On white

7.81
#8221A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8221A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8221A2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8221A2#FFFFFF#000000##FFFFFF
##8221A21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#1E559F
Tritanopia (blue-blind)
#803F62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8221a2;
/* rgb */ color: rgb(130, 33, 162);
/* oklch */ color: oklch(46.5% 0.199 315.8);
Tailwind
colors: {
  custom: {
    50: '#ab69be',
    500: '#8221a2',
    950: '#000000',
  },
}
SCSS
$custom: #8221a2;
$custom-light: #ab69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8221a2",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 285.116,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46484,
    "c": 0.19925,
    "h": 315.8
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#8221A2
secondary
#75C35C
accent
#E93F69
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8221A2

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

Preview Lab → · Contrast checker → · Palette generator →

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