#9237ac
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 | #9237ac | |
| RGB | rgb(146 55 172) | |
| HSL | hsl(286.67 51.54% 44.51%) | |
| OKLCH | oklch(0.51 0.19 317.86) | |
| CMYK | cmyk(15.12% 68.02% 0% 32.55%) | |
| Android | #ff9237ac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.36: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="#9237ac"
Gradient stop
<stop stop-color="#9237ac"/>
CSS variable + fill
:root { --c: #9237ac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9237ac; background-color: #9237ac; bg-[#9237ac]