#a381cc
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 | #a381cc | |
| RGB | rgb(163 129 204) | |
| HSL | hsl(267.2 42.37% 65.29%) | |
| OKLCH | oklch(0.66 0.11 304.31) | |
| CMYK | cmyk(20.1% 36.76% 0% 20%) | |
| Android | #ffa381cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.56: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="#a381cc"
Gradient stop
<stop stop-color="#a381cc"/>
CSS variable + fill
:root { --c: #a381cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a381cc; background-color: #a381cc; bg-[#a381cc]