#a326cd
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 | #a326cd | |
| RGB | rgb(163 38 205) | |
| HSL | hsl(284.91 68.72% 47.65%) | |
| OKLCH | oklch(0.55 0.24 315.38) | |
| CMYK | cmyk(20.49% 81.46% 0% 19.61%) | |
| Android | #ffa326cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.71: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="#a326cd"
Gradient stop
<stop stop-color="#a326cd"/>
CSS variable + fill
:root { --c: #a326cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a326cd; background-color: #a326cd; bg-[#a326cd]