#a342ea
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 | #a342ea | |
| RGB | rgb(163 66 234) | |
| HSL | hsl(274.64 80% 58.82%) | |
| OKLCH | oklch(0.59 0.24 306.69) | |
| CMYK | cmyk(30.34% 71.79% 0% 8.24%) | |
| Android | #ffa342ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#a342ea"
Gradient stop
<stop stop-color="#a342ea"/>
CSS variable + fill
:root { --c: #a342ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a342ea; background-color: #a342ea; bg-[#a342ea]