#8222A8#8222A8

#8222A8 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.204 H 313.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8222A8
RGBrgb(130, 34, 168)
HSLhsl(283, 66%, 40%)
HSVhsv(283, 80%, 66%)
CMYKcmyk(22.6%, 79.8%, 0%, 34.1%)
CIE-LABlab(35.43, 59.15, -51.92)
CIE-LCHlch(35.43, 78.71, 318.72°)
OKLaboklab(47.01% 0.141 -0.1468)
OKLCHoklch(47.01% 0.204 313.8)
XYZxyz(16.8446, 8.7176, 37.8335)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8222A8 #48A822
analogous
#3F22A8 #8222A8 #A8228B
triadic
#8222A8 #A88222 #22A882
tetradic
#8222A8 #A83F22 #48A822 #228BA8
square
#8222A8 #A83F22 #48A822 #228BA8
split-complementary
#8222A8 #8BA822 #22A83F
monochromatic
#330D42 #5B1875 #8222A8 #A732D5 #BD65E0

Accessibility & contrast

On white

7.65
#8222A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8222A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8222A8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8222A8#FFFFFF#000000##FFFFFF
##8222A81.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#1355A5
Tritanopia (blue-blind)
#7E4265
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8222a8;
/* rgb */ color: rgb(130, 34, 168);
/* oklch */ color: oklch(47.0% 0.204 313.8);
Tailwind
colors: {
  custom: {
    50: '#ab69c3',
    500: '#8222a8',
    950: '#000000',
  },
}
SCSS
$custom: #8222a8;
$custom-light: #ab69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8222a8",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 282.985,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.20358,
    "h": 313.8
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#8222A8
secondary
#7DC561
accent
#E93F6F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8222A8

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

Preview Lab → · Contrast checker → · Palette generator →

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