#822CB2#822CB2
#822CB2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.203 H 310.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #822CB2 |
|---|---|
| RGB | rgb(130, 44, 178) |
| HSL | hsl(279, 60%, 44%) |
| HSV | hsv(279, 75%, 70%) |
| CMYK | cmyk(27%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(37.41, 57.66, -54.69) |
| CIE-LCH | lch(37.41, 79.47, 316.51°) |
| OKLab | oklab(48.63% 0.1305 -0.155) |
| OKLCH | oklch(48.63% 0.203 310.1) |
| XYZ | xyz(18.1409, 9.7619, 43.0394) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.16
Darkviolet
#9400D3
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.63
Rebeccapurple
#663399
ΔE00 5.80
Purply
#983FB2
ΔE00 6.27
Blueviolet
#8A2BE2
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822CB2 #5CB22C
analogous
#3F2CB2 #822CB2 #B22C9F
triadic
#822CB2 #B2822C #2CB282
tetradic
#822CB2 #B23F2C #5CB22C #2C9FB2
square
#822CB2 #B23F2C #5CB22C #2C9FB2
split-complementary
#822CB2 #9FB22C #2CB23F
monochromatic
#3A1450 #5E2081 #822CB2 #A149D2 #BA7ADE
Accessibility & contrast
On white
7.11
#822CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#822CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822CB2
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822CB2 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0759AF
Tritanopia (blue-blind)
#7B4C6D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #822cb2; /* rgb */ color: rgb(130, 44, 178); /* oklch */ color: oklch(48.6% 0.203 310.1);
Tailwind
colors: {
custom: {
50: '#ab6eca',
500: '#822cb2',
950: '#000000',
},
}SCSS
$custom: #822cb2; $custom-light: #ab6eca; $custom-dark: #000000;
JSON
{
"hex": "#822cb2",
"rgb": {
"r": 130,
"g": 44,
"b": 178
},
"hsl": {
"h": 278.507,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.48628,
"c": 0.20261,
"h": 310.1
},
"luminance": 0.09762
}Semantic roles & 50–950 ramp
primary
#822CB2
secondary
#91C673
accent
#E4447D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82