#8222AF#8222AF

#8222AF is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.5% C 0.210 H 311.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8222AF
RGBrgb(130, 34, 175)
HSLhsl(281, 67%, 41%)
HSVhsv(281, 81%, 69%)
CMYKcmyk(25.7%, 80.6%, 0%, 31.4%)
CIE-LABlab(35.96, 60.58, -55.27)
CIE-LCHlch(35.96, 82.00, 317.62°)
OKLaboklab(47.53% 0.1396 -0.1566)
OKLCHoklch(47.53% 0.21 311.7)
XYZxyz(17.5144, 8.9855, 41.3609)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222AF #4FAF22
analogous
#3B22AF #8222AF #AF2295
triadic
#8222AF #AF8222 #22AF82
tetradic
#8222AF #AF3B22 #4FAF22 #2295AF
square
#8222AF #AF3B22 #4FAF22 #2295AF
split-complementary
#8222AF #95AF22 #22AF3B
monochromatic
#360E49 #5C187C #8222AF #A436D8 #BB69E2

Accessibility & contrast

On white

7.51
#8222AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8222AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222AF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222AF#FFFFFF#000000##FFFFFF
##8222AF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#7C4669
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8222af;
/* rgb */ color: rgb(130, 34, 175);
/* oklch */ color: oklch(47.5% 0.210 311.7);
Tailwind
colors: {
  custom: {
    50: '#ab6ac8',
    500: '#8222af',
    950: '#000000',
  },
}
SCSS
$custom: #8222af;
$custom-light: #ab6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8222af",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 280.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.20979,
    "h": 311.7
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#8222AF
secondary
#85C865
accent
#EA3D75
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8222AF

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

Preview Lab → · Contrast checker → · Palette generator →

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