#a562f7
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 | #a562f7 | |
| RGB | rgb(165 98 247) | |
| HSL | hsl(266.98 90.3% 67.65%) | |
| OKLCH | oklch(0.64 0.21 301.26) | |
| CMYK | cmyk(33.2% 60.32% 0% 3.14%) | |
| Android | #ffa562f7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.69:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.69: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="#a562f7"
Gradient stop
<stop stop-color="#a562f7"/>
CSS variable + fill
:root { --c: #a562f7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a562f7; background-color: #a562f7; bg-[#a562f7]