#a16bfd
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 | #a16bfd | |
| RGB | rgb(161 107 253) | |
| HSL | hsl(262.19 97.33% 70.59%) | |
| OKLCH | oklch(0.65 0.21 297.34) | |
| CMYK | cmyk(36.36% 57.71% 0% 0.78%) | |
| Android | #ffa16bfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.03: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="#a16bfd"
Gradient stop
<stop stop-color="#a16bfd"/>
CSS variable + fill
:root { --c: #a16bfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a16bfd; background-color: #a16bfd; bg-[#a16bfd]