#a581bf
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 | #a581bf | |
| RGB | rgb(165 129 191) | |
| HSL | hsl(274.84 32.63% 62.75%) | |
| OKLCH | oklch(0.66 0.1 310.39) | |
| CMYK | cmyk(13.61% 32.46% 0% 25.1%) | |
| Android | #ffa581bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.49: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="#a581bf"
Gradient stop
<stop stop-color="#a581bf"/>
CSS variable + fill
:root { --c: #a581bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a581bf; background-color: #a581bf; bg-[#a581bf]