#a42cae
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 | #a42cae | |
| RGB | rgb(164 44 174) | |
| HSL | hsl(295.38 59.63% 42.75%) | |
| OKLCH | oklch(0.53 0.21 324.61) | |
| CMYK | cmyk(5.75% 74.71% 0% 31.76%) | |
| Android | #ffa42cae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.54: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="#a42cae"
Gradient stop
<stop stop-color="#a42cae"/>
CSS variable + fill
:root { --c: #a42cae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a42cae; background-color: #a42cae; bg-[#a42cae]