#822EAB#822EAB
#822EAB is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 312.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #822EAB |
|---|---|
| RGB | rgb(130, 46, 171) |
| HSL | hsl(280, 58%, 43%) |
| HSV | hsv(280, 73%, 67%) |
| CMYK | cmyk(24%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(37.19, 55.36, -50.88) |
| CIE-LCH | lch(37.19, 75.19, 317.41°) |
| OKLab | oklab(48.31% 0.1297 -0.1438) |
| OKLCH | oklch(48.31% 0.194 312) |
| XYZ | xyz(17.5323, 9.6406, 39.4574) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.51
Rebeccapurple
#663399
ΔE00 5.43
Purply
#983FB2
ΔE00 5.95
Darkviolet
#9400D3
ΔE00 6.06
Darkorchid
#9932CC
ΔE00 6.18
Darkmagenta
#8B008B
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822EAB #57AB2E
analogous
#432EAB #822EAB #AB2E96
triadic
#822EAB #AB822E #2EAB82
tetradic
#822EAB #AB432E #57AB2E #2E96AB
square
#822EAB #AB432E #57AB2E #2E96AB
split-complementary
#822EAB #96AB2E #2EAB43
monochromatic
#39144B #5D217B #822EAB #A248CE #BB79DB
Accessibility & contrast
On white
7.17
#822EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#822EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822EAB
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822EAB | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#7D4A6A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #822eab; /* rgb */ color: rgb(130, 46, 171); /* oklch */ color: oklch(48.3% 0.194 312.0);
Tailwind
colors: {
custom: {
50: '#aa6fc5',
500: '#822eab',
950: '#000000',
},
}SCSS
$custom: #822eab; $custom-light: #aa6fc5; $custom-dark: #000000;
JSON
{
"hex": "#822eab",
"rgb": {
"r": 130,
"g": 46,
"b": 171
},
"hsl": {
"h": 280.32,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.48312,
"c": 0.19367,
"h": 312
},
"luminance": 0.0964
}Semantic roles & 50–950 ramp
primary
#822EAB
secondary
#8CC372
accent
#E14779
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82