#a126e6
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 | #a126e6 | |
| RGB | rgb(161 38 230) | |
| HSL | hsl(278.44 79.34% 52.55%) | |
| OKLCH | oklch(0.56 0.26 308.64) | |
| CMYK | cmyk(30% 83.48% 0% 9.8%) | |
| Android | #ffa126e6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a126e6"
Gradient stop
<stop stop-color="#a126e6"/>
CSS variable + fill
:root { --c: #a126e6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a126e6; background-color: #a126e6; bg-[#a126e6]