#822EB3#822EB3
#822EB3 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.201 H 309.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #822EB3 |
|---|---|
| RGB | rgb(130, 46, 179) |
| HSL | hsl(278, 59%, 44%) |
| HSV | hsv(278, 74%, 70%) |
| CMYK | cmyk(27.4%, 74.3%, 0%, 29.8%) |
| CIE-LAB | lab(37.76, 57.08, -54.72) |
| CIE-LCH | lch(37.76, 79.07, 316.21°) |
| OKLab | oklab(48.9% 0.1284 -0.1551) |
| OKLCH | oklch(48.9% 0.201 309.6) |
| XYZ | xyz(18.3180, 9.9549, 43.5956) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.49
Darkviolet
#9400D3
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.40
Rebeccapurple
#663399
ΔE00 5.86
Purply
#983FB2
ΔE00 6.08
Blueviolet
#8A2BE2
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822EB3 #5FB32E
analogous
#402EB3 #822EB3 #B32EA2
triadic
#822EB3 #B3822E #2EB382
tetradic
#822EB3 #B3402E #5FB32E #2EA2B3
square
#822EB3 #B3402E #5FB32E #2EA2B3
split-complementary
#822EB3 #A2B32E #2EB340
monochromatic
#3B1552 #5F2182 #822EB3 #A14DD1 #BA7EDE
Accessibility & contrast
On white
7.02
#822EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#822EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #822EB3
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822EB3 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#095AB0
Tritanopia (blue-blind)
#7B4D6E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #822eb3; /* rgb */ color: rgb(130, 46, 179); /* oklch */ color: oklch(48.9% 0.201 309.6);
Tailwind
colors: {
custom: {
50: '#ab6fcb',
500: '#822eb3',
950: '#000000',
},
}SCSS
$custom: #822eb3; $custom-light: #ab6fcb; $custom-dark: #000000;
JSON
{
"hex": "#822eb3",
"rgb": {
"r": 130,
"g": 46,
"b": 179
},
"hsl": {
"h": 277.895,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.48898,
"c": 0.20137,
"h": 309.6
},
"luminance": 0.09954
}Semantic roles & 50–950 ramp
primary
#822EB3
secondary
#94C676
accent
#E2467F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82