#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 |
|---|---|
| RGB | rgb(130, 42, 169) |
| HSL | hsl(282, 60%, 41%) |
| HSV | hsv(282, 75%, 66%) |
| CMYK | cmyk(23.1%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(36.49, 56.52, -50.81) |
| CIE-LCH | lch(36.49, 76.00, 318.04°) |
| OKLab | oklab(47.77% 0.1339 -0.1436) |
| OKLCH | oklch(47.77% 0.196 313) |
| XYZ | xyz(17.1940, 9.2669, 38.4114) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.82
Rebeccapurple
#663399
ΔE00 5.42
Darkviolet
#9400D3
ΔE00 6.16
Purply
#983FB2
ΔE00 6.42
Darkorchid
#9932CC
ΔE00 6.65
Darkmagenta
#8B008B
ΔE00 6.80
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 |
|---|---|---|---|---|
| ##822AA9 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.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