#a366f8
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 | #a366f8 | |
| RGB | rgb(163 102 248) | |
| HSL | hsl(265.07 91.25% 68.63%) | |
| OKLCH | oklch(0.64 0.21 299.76) | |
| CMYK | cmyk(34.27% 58.87% 0% 2.75%) | |
| Android | #ffa366f8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.61:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.81: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="#a366f8"
Gradient stop
<stop stop-color="#a366f8"/>
CSS variable + fill
:root { --c: #a366f8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a366f8; background-color: #a366f8; bg-[#a366f8]