#822CA9#822CA9
#822CA9 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 312.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #822CA9 |
|---|---|
| RGB | rgb(130, 44, 169) |
| HSL | hsl(281, 59%, 42%) |
| HSV | hsv(281, 74%, 66%) |
| CMYK | cmyk(23.1%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(36.77, 55.74, -50.37) |
| CIE-LCH | lch(36.77, 75.13, 317.90°) |
| OKLab | oklab(47.97% 0.1319 -0.1423) |
| OKLCH | oklch(47.97% 0.194 312.8) |
| XYZ | xyz(17.2668, 9.4123, 38.4356) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.05
Rebeccapurple
#663399
ΔE00 5.39
Purply
#983FB2
ΔE00 6.19
Darkviolet
#9400D3
ΔE00 6.23
Darkorchid
#9932CC
ΔE00 6.52
Darkmagenta
#8B008B
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822CA9 #53A92C
analogous
#442CA9 #822CA9 #A92C92
triadic
#822CA9 #A9822C #2CA982
tetradic
#822CA9 #A9442C #53A92C #2C92A9
square
#822CA9 #A9442C #53A92C #2C92A9
split-complementary
#822CA9 #92A92C #2CA944
monochromatic
#371348 #5D1F78 #822CA9 #A344CE #BB74DB
Accessibility & contrast
On white
7.29
#822CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#822CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822CA9
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822CA9 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#1E58A6
Tritanopia (blue-blind)
#7E4868
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #822ca9; /* rgb */ color: rgb(130, 44, 169); /* oklch */ color: oklch(48.0% 0.194 312.8);
Tailwind
colors: {
custom: {
50: '#aa6ec3',
500: '#822ca9',
950: '#000000',
},
}SCSS
$custom: #822ca9; $custom-light: #aa6ec3; $custom-dark: #000000;
JSON
{
"hex": "#822ca9",
"rgb": {
"r": 130,
"g": 44,
"b": 169
},
"hsl": {
"h": 281.28,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.47967,
"c": 0.19408,
"h": 312.8
},
"luminance": 0.09412
}Semantic roles & 50–950 ramp
primary
#822CA9
secondary
#89C36E
accent
#E24677
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100813
muted
#7F7B82