#822AA4#822AA4

#822AA4 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.192 H 314.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#822AA4
RGBrgb(130, 42, 164)
HSLhsl(283, 59%, 40%)
HSVhsv(283, 74%, 64%)
CMYKcmyk(20.7%, 74.4%, 0%, 35.7%)
CIE-LABlab(36.14, 55.48, -48.38)
CIE-LCHlch(36.14, 73.61, 318.91°)
OKLaboklab(47.42% 0.1346 -0.1365)
OKLCHoklch(47.42% 0.192 314.6)
XYZxyz(16.7336, 9.0827, 35.9864)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AA4 #4CA42A
analogous
#452AA4 #822AA4 #A42A89
triadic
#822AA4 #A4822A #2AA482
tetradic
#822AA4 #A4452A #4CA42A #2A89A4
square
#822AA4 #A4452A #4CA42A #2A89A4
split-complementary
#822AA4 #89A42A #2AA445
monochromatic
#351143 #5B1E73 #822AA4 #A53ECD #BC6EDA

Accessibility & contrast

On white

7.46
#822AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#822AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AA4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AA4#FFFFFF#000000##FFFFFF
##822AA41.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2457A1
Tritanopia (blue-blind)
#7F4565
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822aa4;
/* rgb */ color: rgb(130, 42, 164);
/* oklch */ color: oklch(47.4% 0.192 314.6);
Tailwind
colors: {
  custom: {
    50: '#aa6dc0',
    500: '#822aa4',
    950: '#000000',
  },
}
SCSS
$custom: #822aa4;
$custom-light: #aa6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#822aa4",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 283.279,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.19167,
    "h": 314.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#822AA4
secondary
#81C169
accent
#E24571
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #822AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#822AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva