#822DC3#822DC3
#822DC3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.218 H 305.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #822DC3 |
|---|---|
| RGB | rgb(130, 45, 195) |
| HSL | hsl(274, 63%, 47%) |
| HSV | hsv(274, 77%, 76%) |
| CMYK | cmyk(33.3%, 76.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.83, 61.00, -62.39) |
| CIE-LCH | lch(38.83, 87.26, 314.35°) |
| OKLab | oklab(50.03% 0.126 -0.1777) |
| OKLCH | oklch(50.03% 0.218 305.4) |
| XYZ | xyz(19.9924, 10.5629, 52.6048) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.74
Blueviolet
#8A2BE2
ΔE00 4.31
Darkorchid
#9932CC
ΔE00 4.58
Violet (survey)
#9A0EEA
ΔE00 5.80
Burple
#6832E3
ΔE00 6.13
Bluish Purple
#703BE7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822DC3 #6EC32D
analogous
#372DC3 #822DC3 #C32DB9
triadic
#822DC3 #C3822D #2DC382
tetradic
#822DC3 #C3372D #6EC32D #2DB9C3
square
#822DC3 #C3372D #6EC32D #2DB9C3
split-complementary
#822DC3 #B9C32D #2DC337
monochromatic
#401660 #612291 #822DC3 #9F55D8 #BB87E3
Accessibility & contrast
On white
6.75
#822DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#822DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #822DC3
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822DC3 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#765377
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #822dc3; /* rgb */ color: rgb(130, 45, 195); /* oklch */ color: oklch(50.0% 0.218 305.4);
Tailwind
colors: {
custom: {
50: '#ac6fd6',
500: '#822dc3',
950: '#000000',
},
}SCSS
$custom: #822dc3; $custom-light: #ac6fd6; $custom-dark: #000000;
JSON
{
"hex": "#822dc3",
"rgb": {
"r": 130,
"g": 45,
"b": 195
},
"hsl": {
"h": 274,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.50032,
"c": 0.21783,
"h": 305.4
},
"luminance": 0.10563
}Semantic roles & 50–950 ramp
primary
#822DC3
secondary
#A1CD7F
accent
#E64289
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83