#822AB6#822AB6
#822AB6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.208 H 309.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #822AB6 |
|---|---|
| RGB | rgb(130, 42, 182) |
| HSL | hsl(278, 63%, 44%) |
| HSV | hsv(278, 77%, 71%) |
| CMYK | cmyk(28.6%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(37.44, 59.28, -57.01) |
| CIE-LCH | lch(37.44, 82.24, 316.12°) |
| OKLab | oklab(48.74% 0.1315 -0.1618) |
| OKLCH | oklch(48.74% 0.208 309.1) |
| XYZ | xyz(18.4757, 9.7795, 45.1612) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.56
Darkviolet
#9400D3
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 5.47
Rebeccapurple
#663399
ΔE00 6.10
Blueviolet
#8A2BE2
ΔE00 6.26
Purply
#983FB2
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822AB6 #5EB62A
analogous
#3C2AB6 #822AB6 #B62AA4
triadic
#822AB6 #B6822A #2AB682
tetradic
#822AB6 #B63C2A #5EB62A #2AA4B6
square
#822AB6 #B63C2A #5EB62A #2AA4B6
split-complementary
#822AB6 #A4B62A #2AB63C
monochromatic
#3B1353 #5E1F84 #822AB6 #A148D5 #BA7AE0
Accessibility & contrast
On white
7.10
#822AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#822AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822AB6
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822AB6 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#7A4C6F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #822ab6; /* rgb */ color: rgb(130, 42, 182); /* oklch */ color: oklch(48.7% 0.208 309.1);
Tailwind
colors: {
custom: {
50: '#ab6dcd',
500: '#822ab6',
950: '#000000',
},
}SCSS
$custom: #822ab6; $custom-light: #ab6dcd; $custom-dark: #000000;
JSON
{
"hex": "#822ab6",
"rgb": {
"r": 130,
"g": 42,
"b": 182
},
"hsl": {
"h": 277.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.48744,
"c": 0.20849,
"h": 309.1
},
"luminance": 0.09779
}Semantic roles & 50–950 ramp
primary
#822AB6
secondary
#93C873
accent
#E6427F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82