#a562cc
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 | #a562cc | |
| RGB | rgb(165 98 204) | |
| HSL | hsl(277.92 50.96% 59.22%) | |
| OKLCH | oklch(0.61 0.17 311.63) | |
| CMYK | cmyk(19.12% 51.96% 0% 20%) | |
| Android | #ffa562cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.21:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a562cc"
Gradient stop
<stop stop-color="#a562cc"/>
CSS variable + fill
:root { --c: #a562cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a562cc; background-color: #a562cc; bg-[#a562cc]