#a401bd
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 | #a401bd | |
| RGB | rgb(164 1 189) | |
| HSL | hsl(292.02 98.95% 37.25%) | |
| OKLCH | oklch(0.52 0.25 320.83) | |
| CMYK | cmyk(13.23% 99.47% 0% 25.88%) | |
| Android | #ffa401bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.31: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="#a401bd"
Gradient stop
<stop stop-color="#a401bd"/>
CSS variable + fill
:root { --c: #a401bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a401bd; background-color: #a401bd; bg-[#a401bd]