#822EA7#822EA7
#822EA7 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.190 H 313.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #822EA7 |
|---|---|
| RGB | rgb(130, 46, 167) |
| HSL | hsl(282, 57%, 42%) |
| HSV | hsv(282, 72%, 65%) |
| CMYK | cmyk(22.2%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(36.91, 54.51, -48.94) |
| CIE-LCH | lch(36.91, 73.25, 318.08°) |
| OKLab | oklab(48.03% 0.1302 -0.1381) |
| OKLCH | oklch(48.03% 0.19 313.3) |
| XYZ | xyz(17.1567, 9.4904, 37.4798) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.11
Rebeccapurple
#663399
ΔE00 5.34
Purply
#983FB2
ΔE00 5.97
Darkviolet
#9400D3
ΔE00 6.59
Darkorchid
#9932CC
ΔE00 6.63
Darkmagenta
#8B008B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822EA7 #53A72E
analogous
#462EA7 #822EA7 #A72E90
triadic
#822EA7 #A7822E #2EA782
tetradic
#822EA7 #A7462E #53A72E #2E90A7
square
#822EA7 #A7462E #53A72E #2E90A7
split-complementary
#822EA7 #90A72E #2EA746
monochromatic
#371447 #5D2177 #822EA7 #A346CC #BB76D9
Accessibility & contrast
On white
7.25
#822EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#822EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822EA7
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822EA7 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2459A4
Tritanopia (blue-blind)
#7E4868
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #822ea7; /* rgb */ color: rgb(130, 46, 167); /* oklch */ color: oklch(48.0% 0.190 313.3);
Tailwind
colors: {
custom: {
50: '#aa6fc2',
500: '#822ea7',
950: '#000000',
},
}SCSS
$custom: #822ea7; $custom-light: #aa6fc2; $custom-dark: #000000;
JSON
{
"hex": "#822ea7",
"rgb": {
"r": 130,
"g": 46,
"b": 167
},
"hsl": {
"h": 281.653,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.48026,
"c": 0.18983,
"h": 313.3
},
"luminance": 0.0949
}Semantic roles & 50–950 ramp
primary
#822EA7
secondary
#89C170
accent
#E04876
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81