#a772da
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 | #a772da | |
| RGB | rgb(167 114 218) | |
| HSL | hsl(270.58 58.43% 65.1%) | |
| OKLCH | oklch(0.65 0.16 306.01) | |
| CMYK | cmyk(23.39% 47.71% 0% 14.51%) | |
| Android | #ffa772da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.06: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="#a772da"
Gradient stop
<stop stop-color="#a772da"/>
CSS variable + fill
:root { --c: #a772da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a772da; background-color: #a772da; bg-[#a772da]