#a236ec
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 | #a236ec | |
| RGB | rgb(162 54 236) | |
| HSL | hsl(275.6 82.73% 56.86%) | |
| OKLCH | oklch(0.58 0.25 306.79) | |
| CMYK | cmyk(31.36% 77.12% 0% 7.45%) | |
| Android | #ffa236ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27: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="#a236ec"
Gradient stop
<stop stop-color="#a236ec"/>
CSS variable + fill
:root { --c: #a236ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a236ec; background-color: #a236ec; bg-[#a236ec]