#a564db
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 | #a564db | |
| RGB | rgb(165 100 219) | |
| HSL | hsl(272.77 62.3% 62.55%) | |
| OKLCH | oklch(0.63 0.18 307.18) | |
| CMYK | cmyk(24.66% 54.34% 0% 14.12%) | |
| Android | #ffa564db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.85:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.44: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="#a564db"
Gradient stop
<stop stop-color="#a564db"/>
CSS variable + fill
:root { --c: #a564db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a564db; background-color: #a564db; bg-[#a564db]