#a641d1
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 | #a641d1 | |
| RGB | rgb(166 65 209) | |
| HSL | hsl(282.08 61.02% 53.73%) | |
| OKLCH | oklch(0.58 0.22 313.89) | |
| CMYK | cmyk(20.57% 68.9% 0% 18.04%) | |
| Android | #ffa641d1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29: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="#a641d1"
Gradient stop
<stop stop-color="#a641d1"/>
CSS variable + fill
:root { --c: #a641d1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a641d1; background-color: #a641d1; bg-[#a641d1]