#822CAF#822CAF
#822CAF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.4% C 0.200 H 311.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #822CAF |
|---|---|
| RGB | rgb(130, 44, 175) |
| HSL | hsl(279, 60%, 43%) |
| HSV | hsv(279, 75%, 69%) |
| CMYK | cmyk(25.7%, 74.9%, 0%, 31.4%) |
| CIE-LAB | lab(37.19, 57.01, -53.26) |
| CIE-LCH | lch(37.19, 78.02, 316.95°) |
| OKLab | oklab(48.41% 0.131 -0.1508) |
| OKLCH | oklch(48.41% 0.2 311) |
| XYZ | xyz(17.8430, 9.6428, 41.4704) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.77
Darkviolet
#9400D3
ΔE00 5.46
Rebeccapurple
#663399
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.90
Purply
#983FB2
ΔE00 6.21
Blueviolet
#8A2BE2
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822CAF #59AF2C
analogous
#402CAF #822CAF #AF2C9A
triadic
#822CAF #AF822C #2CAF82
tetradic
#822CAF #AF402C #59AF2C #2C9AAF
square
#822CAF #AF402C #59AF2C #2C9AAF
split-complementary
#822CAF #9AAF2C #2CAF40
monochromatic
#39134D #5E207E #822CAF #A247D1 #BA78DD
Accessibility & contrast
On white
7.17
#822CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#822CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822CAF
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822CAF | 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)
#0054B3
Deuteranopia (green-blind)
#1259AC
Tritanopia (blue-blind)
#7C4A6C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #822caf; /* rgb */ color: rgb(130, 44, 175); /* oklch */ color: oklch(48.4% 0.200 311.0);
Tailwind
colors: {
custom: {
50: '#ab6ec8',
500: '#822caf',
950: '#000000',
},
}SCSS
$custom: #822caf; $custom-light: #ab6ec8; $custom-dark: #000000;
JSON
{
"hex": "#822caf",
"rgb": {
"r": 130,
"g": 44,
"b": 175
},
"hsl": {
"h": 279.389,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.48405,
"c": 0.19976,
"h": 311
},
"luminance": 0.09642
}Semantic roles & 50–950 ramp
primary
#822CAF
secondary
#8EC572
accent
#E3457B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82