#a40bc8
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 | #a40bc8 | |
| RGB | rgb(164 11 200) | |
| HSL | hsl(288.57 89.57% 41.37%) | |
| OKLCH | oklch(0.53 0.25 317.71) | |
| CMYK | cmyk(18% 94.5% 0% 21.57%) | |
| Android | #ffa40bc8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.46: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="#a40bc8"
Gradient stop
<stop stop-color="#a40bc8"/>
CSS variable + fill
:root { --c: #a40bc8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a40bc8; background-color: #a40bc8; bg-[#a40bc8]