#a04ecc
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 | #a04ecc | |
| RGB | rgb(160 78 204) | |
| HSL | hsl(279.05 55.26% 55.29%) | |
| OKLCH | oklch(0.58 0.19 311.85) | |
| CMYK | cmyk(21.57% 61.76% 0% 20%) | |
| Android | #ffa04ecc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.45: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="#a04ecc"
Gradient stop
<stop stop-color="#a04ecc"/>
CSS variable + fill
:root { --c: #a04ecc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a04ecc; background-color: #a04ecc; bg-[#a04ecc]