#a178bd
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 | #a178bd | |
| RGB | rgb(161 120 189) | |
| HSL | hsl(275.65 34.33% 60.59%) | |
| OKLCH | oklch(0.64 0.11 310.78) | |
| CMYK | cmyk(14.81% 36.51% 0% 25.88%) | |
| Android | #ffa178bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#a178bd"
Gradient stop
<stop stop-color="#a178bd"/>
CSS variable + fill
:root { --c: #a178bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a178bd; background-color: #a178bd; bg-[#a178bd]