#a167fd
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 | #a167fd | |
| RGB | rgb(161 103 253) | |
| HSL | hsl(263.2 97.4% 69.8%) | |
| OKLCH | oklch(0.65 0.21 297.96) | |
| CMYK | cmyk(36.36% 59.29% 0% 0.78%) | |
| Android | #ffa167fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.57:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.87: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="#a167fd"
Gradient stop
<stop stop-color="#a167fd"/>
CSS variable + fill
:root { --c: #a167fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a167fd; background-color: #a167fd; bg-[#a167fd]