#822EA5#822EA5
#822EA5 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.188 H 314.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #822EA5 |
|---|---|
| RGB | rgb(130, 46, 165) |
| HSL | hsl(282, 56%, 41%) |
| HSV | hsv(282, 72%, 65%) |
| CMYK | cmyk(21.2%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(36.78, 54.09, -47.96) |
| CIE-LCH | lch(36.78, 72.29, 318.44°) |
| OKLab | oklab(47.89% 0.1305 -0.1353) |
| OKLCH | oklch(47.89% 0.188 314) |
| XYZ | xyz(16.9733, 9.4170, 36.5136) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.95
Rebeccapurple
#663399
ΔE00 5.33
Purply
#983FB2
ΔE00 6.01
Darkmagenta
#8B008B
ΔE00 6.61
Warm Purple
#952E8F
ΔE00 6.77
Darkorchid
#9932CC
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822EA5 #51A52E
analogous
#472EA5 #822EA5 #A52E8D
triadic
#822EA5 #A5822E #2EA582
tetradic
#822EA5 #A5472E #51A52E #2E8DA5
square
#822EA5 #A5472E #51A52E #2E8DA5
split-complementary
#822EA5 #8DA52E #2EA547
monochromatic
#371345 #5C2175 #822EA5 #A445CB #BB75D8
Accessibility & contrast
On white
7.28
#822EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#822EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822EA5
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822EA5 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2658A2
Tritanopia (blue-blind)
#7F4767
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #822ea5; /* rgb */ color: rgb(130, 46, 165); /* oklch */ color: oklch(47.9% 0.188 314.0);
Tailwind
colors: {
custom: {
50: '#aa6fc0',
500: '#822ea5',
950: '#000000',
},
}SCSS
$custom: #822ea5; $custom-light: #aa6fc0; $custom-dark: #000000;
JSON
{
"hex": "#822ea5",
"rgb": {
"r": 130,
"g": 46,
"b": 165
},
"hsl": {
"h": 282.353,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.47886,
"c": 0.18792,
"h": 314
},
"luminance": 0.09416
}Semantic roles & 50–950 ramp
primary
#822EA5
secondary
#87C06F
accent
#E04875
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81