#8222A6#8222A6

#8222A6 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.202 H 314.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8222A6
RGBrgb(130, 34, 166)
HSLhsl(284, 66%, 39%)
HSVhsv(284, 80%, 65%)
CMYKcmyk(21.7%, 79.5%, 0%, 34.9%)
CIE-LABlab(35.29, 58.75, -50.96)
CIE-LCHlch(35.29, 77.77, 319.06°)
OKLaboklab(46.86% 0.1414 -0.144)
OKLCHoklch(46.86% 0.202 314.5)
XYZxyz(16.6597, 8.6437, 36.8598)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222A6 #46A622
analogous
#4022A6 #8222A6 #A62288
triadic
#8222A6 #A68222 #22A682
tetradic
#8222A6 #A64022 #46A622 #2288A6
square
#8222A6 #A64022 #46A622 #2288A6
split-complementary
#8222A6 #88A622 #22A640
monochromatic
#320D40 #5A1873 #8222A6 #A830D5 #BD63DF

Accessibility & contrast

On white

7.70
#8222A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8222A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222A6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222A6#FFFFFF#000000##FFFFFF
##8222A61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#1755A3
Tritanopia (blue-blind)
#7F4264
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8222a6;
/* rgb */ color: rgb(130, 34, 166);
/* oklch */ color: oklch(46.9% 0.202 314.5);
Tailwind
colors: {
  custom: {
    50: '#ab69c1',
    500: '#8222a6',
    950: '#000000',
  },
}
SCSS
$custom: #8222a6;
$custom-light: #ab69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8222a6",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 283.636,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.20182,
    "h": 314.5
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#8222A6
secondary
#7BC45F
accent
#E93F6D
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8222A6

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

Preview Lab → · Contrast checker → · Palette generator →

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