#8222AE#8222AE

#8222AE is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.5% C 0.209 H 312.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8222AE
RGBrgb(130, 34, 174)
HSLhsl(281, 67%, 41%)
HSVhsv(281, 80%, 68%)
CMYKcmyk(25.3%, 80.5%, 0%, 31.8%)
CIE-LABlab(35.88, 60.37, -54.79)
CIE-LCHlch(35.88, 81.53, 317.77°)
OKLaboklab(47.46% 0.1398 -0.1552)
OKLCHoklch(47.46% 0.209 312)
XYZxyz(17.4165, 8.9464, 40.8455)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222AE #4EAE22
analogous
#3C22AE #8222AE #AE2294
triadic
#8222AE #AE8222 #22AE82
tetradic
#8222AE #AE3C22 #4EAE22 #2294AE
square
#8222AE #AE3C22 #4EAE22 #2294AE
split-complementary
#8222AE #94AE22 #22AE3C
monochromatic
#350E48 #5C187B #8222AE #A536D8 #BC69E2

Accessibility & contrast

On white

7.53
#8222AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8222AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222AE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222AE#FFFFFF#000000##FFFFFF
##8222AE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#7D4569
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8222ae;
/* rgb */ color: rgb(130, 34, 174);
/* oklch */ color: oklch(47.5% 0.209 312.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ac7',
    500: '#8222ae',
    950: '#000000',
  },
}
SCSS
$custom: #8222ae;
$custom-light: #ab6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8222ae",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 281.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.2089,
    "h": 312
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#8222AE
secondary
#84C764
accent
#EA3E74
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8222AE

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

Preview Lab → · Contrast checker → · Palette generator →

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