#a336ca
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 | #a336ca | |
| RGB | rgb(163 54 202) | |
| HSL | hsl(284.19 58.27% 50.2%) | |
| OKLCH | oklch(0.56 0.22 315.41) | |
| CMYK | cmyk(19.31% 73.27% 0% 20.78%) | |
| Android | #ffa336ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a336ca"
Gradient stop
<stop stop-color="#a336ca"/>
CSS variable + fill
:root { --c: #a336ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a336ca; background-color: #a336ca; bg-[#a336ca]