#a46ce3
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 | #a46ce3 | |
| RGB | rgb(164 108 227) | |
| HSL | hsl(268.24 68% 65.69%) | |
| OKLCH | oklch(0.64 0.18 303.53) | |
| CMYK | cmyk(27.75% 52.42% 0% 10.98%) | |
| Android | #ffa46ce3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.60:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.83: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="#a46ce3"
Gradient stop
<stop stop-color="#a46ce3"/>
CSS variable + fill
:root { --c: #a46ce3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a46ce3; background-color: #a46ce3; bg-[#a46ce3]