#822cdc
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #822cdc | |
| RGB | rgb(130 44 220) | |
| HSL | hsl(269.32 71.54% 51.76%) | |
| OKLCH | oklch(0.52 0.24 299.65) | |
| CMYK | cmyk(40.91% 80% 0% 13.73%) | |
| Android | #ff822cdc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#822cdc"
Gradient stop
<stop stop-color="#822cdc"/>
CSS variable + fill
:root { --c: #822cdc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #822cdc; background-color: #822cdc; bg-[#822cdc]