#a77af2
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 | #a77af2 | |
| RGB | rgb(167 122 242) | |
| HSL | hsl(262.5 82.19% 71.37%) | |
| OKLCH | oklch(0.68 0.17 298.97) | |
| CMYK | cmyk(30.99% 49.59% 0% 5.1%) | |
| Android | #ffa77af2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.70: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="#a77af2"
Gradient stop
<stop stop-color="#a77af2"/>
CSS variable + fill
:root { --c: #a77af2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a77af2; background-color: #a77af2; bg-[#a77af2]