#822AAF#822AAF
#822AAF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.202 H 311.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #822AAF |
|---|---|
| RGB | rgb(130, 42, 175) |
| HSL | hsl(280, 61%, 43%) |
| HSV | hsv(280, 76%, 69%) |
| CMYK | cmyk(25.7%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(36.92, 57.78, -53.70) |
| CIE-LCH | lch(36.92, 78.88, 317.10°) |
| OKLab | oklab(48.22% 0.1328 -0.1521) |
| OKLCH | oklch(48.22% 0.202 311.1) |
| XYZ | xyz(17.7703, 9.4973, 41.4462) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.58
Darkviolet
#9400D3
ΔE00 5.38
Rebeccapurple
#663399
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 6.05
Purply
#983FB2
ΔE00 6.44
Blueviolet
#8A2BE2
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822AAF #57AF2A
analogous
#3F2AAF #822AAF #AF2A9A
triadic
#822AAF #AF822A #2AAF82
tetradic
#822AAF #AF3F2A #57AF2A #2A9AAF
square
#822AAF #AF3F2A #57AF2A #2A9AAF
split-complementary
#822AAF #9AAF2A #2AAF3F
monochromatic
#39124C #5D1E7E #822AAF #A244D2 #BB75DE
Accessibility & contrast
On white
7.24
#822AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#822AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822AAF
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822AAF | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0D58AC
Tritanopia (blue-blind)
#7C496B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #822aaf; /* rgb */ color: rgb(130, 42, 175); /* oklch */ color: oklch(48.2% 0.202 311.1);
Tailwind
colors: {
custom: {
50: '#ab6dc8',
500: '#822aaf',
950: '#000000',
},
}SCSS
$custom: #822aaf; $custom-light: #ab6dc8; $custom-dark: #000000;
JSON
{
"hex": "#822aaf",
"rgb": {
"r": 130,
"g": 42,
"b": 175
},
"hsl": {
"h": 279.699,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.48215,
"c": 0.20193,
"h": 311.1
},
"luminance": 0.09497
}Semantic roles & 50–950 ramp
primary
#822AAF
secondary
#8CC66F
accent
#E4437A
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82