#a754af
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 | #a754af | |
| RGB | rgb(167 84 175) | |
| HSL | hsl(294.73 36.25% 50.78%) | |
| OKLCH | oklch(0.58 0.16 323.99) | |
| CMYK | cmyk(4.57% 52% 0% 31.37%) | |
| Android | #ffa754af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.53:1
Pass 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="#a754af"
Gradient stop
<stop stop-color="#a754af"/>
CSS variable + fill
:root { --c: #a754af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a754af; background-color: #a754af; bg-[#a754af]