#822AA9#822AA9

#822AA9 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 313.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#822AA9
RGBrgb(130, 42, 169)
HSLhsl(282, 60%, 41%)
HSVhsv(282, 75%, 66%)
CMYKcmyk(23.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(36.49, 56.52, -50.81)
CIE-LCHlch(36.49, 76.00, 318.04°)
OKLaboklab(47.77% 0.1339 -0.1436)
OKLCHoklch(47.77% 0.196 313)
XYZxyz(17.1940, 9.2669, 38.4114)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AA9 #51A92A
analogous
#432AA9 #822AA9 #A92A91
triadic
#822AA9 #A9822A #2AA982
tetradic
#822AA9 #A9432A #51A92A #2A91A9
square
#822AA9 #A9432A #51A92A #2A91A9
split-complementary
#822AA9 #91A92A #2AA943
monochromatic
#371247 #5C1E78 #822AA9 #A441D0 #BB72DC

Accessibility & contrast

On white

7.36
#822AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#822AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822AA9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AA9#FFFFFF#000000##FFFFFF
##822AA91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#1C58A6
Tritanopia (blue-blind)
#7E4768
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #822aa9;
/* rgb */ color: rgb(130, 42, 169);
/* oklch */ color: oklch(47.8% 0.196 313.0);
Tailwind
colors: {
  custom: {
    50: '#ab6dc3',
    500: '#822aa9',
    950: '#000000',
  },
}
SCSS
$custom: #822aa9;
$custom-light: #ab6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#822aa9",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 281.575,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.19632,
    "h": 313
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#822AA9
secondary
#87C36C
accent
#E34475
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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