#822AA5#822AA5

#822AA5 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.193 H 314.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#822AA5
RGBrgb(130, 42, 165)
HSLhsl(283, 59%, 41%)
HSVhsv(283, 75%, 65%)
CMYKcmyk(21.2%, 74.5%, 0%, 35.3%)
CIE-LABlab(36.21, 55.69, -48.87)
CIE-LCHlch(36.21, 74.09, 318.73°)
OKLaboklab(47.49% 0.1344 -0.1379)
OKLCHoklch(47.49% 0.193 314.3)
XYZxyz(16.8243, 9.1189, 36.4639)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AA5 #4DA52A
analogous
#452AA5 #822AA5 #A52A8A
triadic
#822AA5 #A5822A #2AA582
tetradic
#822AA5 #A5452A #4DA52A #2A8AA5
square
#822AA5 #A5452A #4DA52A #2A8AA5
split-complementary
#822AA5 #8AA52A #2AA545
monochromatic
#351143 #5C1E74 #822AA5 #A53ECE #BC6FDA

Accessibility & contrast

On white

7.44
#822AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822AA5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AA5#FFFFFF#000000##FFFFFF
##822AA51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#2257A2
Tritanopia (blue-blind)
#7F4565
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #822aa5;
/* rgb */ color: rgb(130, 42, 165);
/* oklch */ color: oklch(47.5% 0.193 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa6dc0',
    500: '#822aa5',
    950: '#000000',
  },
}
SCSS
$custom: #822aa5;
$custom-light: #aa6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#822aa5",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 282.927,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47486,
    "c": 0.19259,
    "h": 314.3
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#822AA5
secondary
#82C169
accent
#E34572
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #822AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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