#a06aff
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 | #a06aff | |
| RGB | rgb(160 106 255) | |
| HSL | hsl(261.74 100% 70.78%) | |
| OKLCH | oklch(0.65 0.21 296.79) | |
| CMYK | cmyk(37.25% 58.43% 0% 0%) | |
| Android | #ffa06aff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.49:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.00: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="#a06aff"
Gradient stop
<stop stop-color="#a06aff"/>
CSS variable + fill
:root { --c: #a06aff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a06aff; background-color: #a06aff; bg-[#a06aff]