#822AB3#822AB3
#822AB3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.206 H 310.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #822AB3 |
|---|---|
| RGB | rgb(130, 42, 179) |
| HSL | hsl(279, 62%, 43%) |
| HSV | hsv(279, 77%, 70%) |
| CMYK | cmyk(27.4%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(37.22, 58.63, -55.60) |
| CIE-LCH | lch(37.22, 80.80, 316.52°) |
| OKLab | oklab(48.52% 0.1321 -0.1577) |
| OKLCH | oklch(48.52% 0.206 310) |
| XYZ | xyz(18.1690, 9.6568, 43.5459) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.13
Darkviolet
#9400D3
ΔE00 4.91
Darkorchid
#9932CC
ΔE00 5.70
Rebeccapurple
#663399
ΔE00 5.88
Purply
#983FB2
ΔE00 6.51
Blueviolet
#8A2BE2
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822AB3 #5BB32A
analogous
#3D2AB3 #822AB3 #B32A9F
triadic
#822AB3 #B3822A #2AB382
tetradic
#822AB3 #B33D2A #5BB32A #2A9FB3
square
#822AB3 #B33D2A #5BB32A #2A9FB3
split-complementary
#822AB3 #9FB32A #2AB33D
monochromatic
#3A1350 #5E1E81 #822AB3 #A146D4 #BA78DF
Accessibility & contrast
On white
7.16
#822AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#822AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822AB3
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822AB3 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#7B4B6D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #822ab3; /* rgb */ color: rgb(130, 42, 179); /* oklch */ color: oklch(48.5% 0.206 310.0);
Tailwind
colors: {
custom: {
50: '#ab6dcb',
500: '#822ab3',
950: '#000000',
},
}SCSS
$custom: #822ab3; $custom-light: #ab6dcb; $custom-dark: #000000;
JSON
{
"hex": "#822ab3",
"rgb": {
"r": 130,
"g": 42,
"b": 179
},
"hsl": {
"h": 278.54,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.48515,
"c": 0.20568,
"h": 310
},
"luminance": 0.09656
}Semantic roles & 50–950 ramp
primary
#822AB3
secondary
#90C772
accent
#E5437D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82