#8222A5#8222A5

#8222A5 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.201 H 314.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8222A5
RGBrgb(130, 34, 165)
HSLhsl(284, 66%, 39%)
HSVhsv(284, 79%, 65%)
CMYKcmyk(21.2%, 79.4%, 0%, 35.3%)
CIE-LABlab(35.22, 58.55, -50.48)
CIE-LCHlch(35.22, 77.30, 319.23°)
OKLaboklab(46.78% 0.1416 -0.1426)
OKLCHoklch(46.78% 0.201 314.8)
XYZxyz(16.5683, 8.6071, 36.3786)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222A5 #45A522
analogous
#4022A5 #8222A5 #A52287
triadic
#8222A5 #A58222 #22A582
tetradic
#8222A5 #A54022 #45A522 #2287A5
square
#8222A5 #A54022 #45A522 #2287A5
split-complementary
#8222A5 #87A522 #22A540
monochromatic
#320D40 #5A1872 #8222A5 #A830D4 #BE63DF

Accessibility & contrast

On white

7.72
#8222A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8222A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222A5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222A5#FFFFFF#000000##FFFFFF
##8222A51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#1955A2
Tritanopia (blue-blind)
#7F4164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8222a5;
/* rgb */ color: rgb(130, 34, 165);
/* oklch */ color: oklch(46.8% 0.201 314.8);
Tailwind
colors: {
  custom: {
    50: '#ab69c0',
    500: '#8222a5',
    950: '#000000',
  },
}
SCSS
$custom: #8222a5;
$custom-light: #ab69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8222a5",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 283.969,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.20093,
    "h": 314.8
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#8222A5
secondary
#7AC45F
accent
#E93F6C
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8222A5

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

Preview Lab → · Contrast checker → · Palette generator →

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