#a240ec
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 | #a240ec | |
| RGB | rgb(162 64 236) | |
| HSL | hsl(274.19 81.9% 58.82%) | |
| OKLCH | oklch(0.59 0.24 306.07) | |
| CMYK | cmyk(31.36% 72.88% 0% 7.45%) | |
| Android | #ffa240ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48: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="#a240ec"
Gradient stop
<stop stop-color="#a240ec"/>
CSS variable + fill
:root { --c: #a240ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a240ec; background-color: #a240ec; bg-[#a240ec]