#a778bf
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 | #a778bf | |
| RGB | rgb(167 120 191) | |
| HSL | hsl(279.72 35.68% 60.98%) | |
| OKLCH | oklch(0.65 0.11 313.71) | |
| CMYK | cmyk(12.57% 37.17% 0% 25.1%) | |
| Android | #ffa778bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.08: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="#a778bf"
Gradient stop
<stop stop-color="#a778bf"/>
CSS variable + fill
:root { --c: #a778bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a778bf; background-color: #a778bf; bg-[#a778bf]