#8222AD#8222AD

#8222AD is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.208 H 312.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8222AD
RGBrgb(130, 34, 173)
HSLhsl(281, 67%, 41%)
HSVhsv(281, 80%, 68%)
CMYKcmyk(24.9%, 80.3%, 0%, 32.2%)
CIE-LABlab(35.81, 60.17, -54.32)
CIE-LCHlch(35.81, 81.06, 317.92°)
OKLaboklab(47.38% 0.14 -0.1538)
OKLCHoklch(47.38% 0.208 312.3)
XYZxyz(17.3194, 8.9075, 40.3340)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222AD #4DAD22
analogous
#3C22AD #8222AD #AD2292
triadic
#8222AD #AD8222 #22AD82
tetradic
#8222AD #AD3C22 #4DAD22 #2292AD
square
#8222AD #AD3C22 #4DAD22 #2292AD
split-complementary
#8222AD #92AD22 #22AD3C
monochromatic
#350E47 #5C187A #8222AD #A535D7 #BC68E1

Accessibility & contrast

On white

7.55
#8222AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8222AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222AD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222AD#FFFFFF#000000##FFFFFF
##8222AD1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0256AA
Tritanopia (blue-blind)
#7D4568
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8222ad;
/* rgb */ color: rgb(130, 34, 173);
/* oklch */ color: oklch(47.4% 0.208 312.3);
Tailwind
colors: {
  custom: {
    50: '#ab6ac6',
    500: '#8222ad',
    950: '#000000',
  },
}
SCSS
$custom: #8222ad;
$custom-light: #ab6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8222ad",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 281.439,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.20801,
    "h": 312.3
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#8222AD
secondary
#82C764
accent
#EA3E73
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8222AD

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

Preview Lab → · Contrast checker → · Palette generator →

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