#a760df
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 | #a760df | |
| RGB | rgb(167 96 223) | |
| HSL | hsl(273.54 66.49% 62.55%) | |
| OKLCH | oklch(0.62 0.19 307.57) | |
| CMYK | cmyk(25.11% 56.95% 0% 12.55%) | |
| Android | #ffa760df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.90:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.38: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="#a760df"
Gradient stop
<stop stop-color="#a760df"/>
CSS variable + fill
:root { --c: #a760df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a760df; background-color: #a760df; bg-[#a760df]