#822FBC#822FBC
#822FBC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.209 H 307.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #822FBC |
|---|---|
| RGB | rgb(130, 47, 188) |
| HSL | hsl(275, 60%, 46%) |
| HSV | hsv(275, 75%, 74%) |
| CMYK | cmyk(30.9%, 75%, 0%, 26.3%) |
| CIE-LAB | lab(38.57, 58.66, -58.72) |
| CIE-LCH | lch(38.57, 83.00, 314.97°) |
| OKLab | oklab(49.68% 0.1258 -0.1669) |
| OKLCH | oklch(49.68% 0.209 307) |
| XYZ | xyz(19.2976, 10.4099, 48.5599) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.33
Darkorchid
#9932CC
ΔE00 4.71
Blueviolet
#8A2BE2
ΔE00 5.22
Purple (survey)
#7E1E9C
ΔE00 5.79
Purply
#983FB2
ΔE00 6.36
Violet (survey)
#9A0EEA
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#822FBC #69BC2F
analogous
#3B2FBC #822FBC #BC2FAF
triadic
#822FBC #BC822F #2FBC82
tetradic
#822FBC #BC3B2F #69BC2F #2FAFBC
square
#822FBC #BC3B2F #69BC2F #2FAFBC
split-complementary
#822FBC #AFBC2F #2FBC3B
monochromatic
#3E175A #60238B #822FBC #9F54D4 #BB85E0
Accessibility & contrast
On white
6.81
#822FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#822FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #822FBC
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##822FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##822FBC | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#785174
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #822fbc; /* rgb */ color: rgb(130, 47, 188); /* oklch */ color: oklch(49.7% 0.209 307.0);
Tailwind
colors: {
custom: {
50: '#ac70d1',
500: '#822fbc',
950: '#000000',
},
}SCSS
$custom: #822fbc; $custom-light: #ac70d1; $custom-dark: #000000;
JSON
{
"hex": "#822fbc",
"rgb": {
"r": 130,
"g": 47,
"b": 188
},
"hsl": {
"h": 275.319,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.49677,
"c": 0.20899,
"h": 307
},
"luminance": 0.1041
}Semantic roles & 50–950 ramp
primary
#822FBC
secondary
#9DCA7D
accent
#E34586
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82