#a167ec
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 | #a167ec | |
| RGB | rgb(161 103 236) | |
| HSL | hsl(266.17 77.78% 66.47%) | |
| OKLCH | oklch(0.64 0.19 301.17) | |
| CMYK | cmyk(31.78% 56.36% 0% 7.45%) | |
| Android | #ffa167ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.70:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.66: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="#a167ec"
Gradient stop
<stop stop-color="#a167ec"/>
CSS variable + fill
:root { --c: #a167ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a167ec; background-color: #a167ec; bg-[#a167ec]