#822cce
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 | #822cce | |
| RGB | rgb(130 44 206) | |
| HSL | hsl(271.85 64.8% 49.02%) | |
| OKLCH | oklch(0.51 0.23 302.75) | |
| CMYK | cmyk(36.89% 78.64% 0% 19.22%) | |
| Android | #ff822cce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.20: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="#822cce"
Gradient stop
<stop stop-color="#822cce"/>
CSS variable + fill
:root { --c: #822cce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #822cce; background-color: #822cce; bg-[#822cce]