#a774df
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 | #a774df | |
| RGB | rgb(167 116 223) | |
| HSL | hsl(268.6 62.57% 66.47%) | |
| OKLCH | oklch(0.66 0.16 304.34) | |
| CMYK | cmyk(25.11% 47.98% 0% 12.55%) | |
| Android | #ffa774df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.20: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="#a774df"
Gradient stop
<stop stop-color="#a774df"/>
CSS variable + fill
:root { --c: #a774df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a774df; background-color: #a774df; bg-[#a774df]