#9727ad
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 | #9727ad | |
| RGB | rgb(151 39 173) | |
| HSL | hsl(290.15 63.21% 41.57%) | |
| OKLCH | oklch(0.51 0.21 320.34) | |
| CMYK | cmyk(12.72% 77.46% 0% 32.16%) | |
| Android | #ff9727ad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.20: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="#9727ad"
Gradient stop
<stop stop-color="#9727ad"/>
CSS variable + fill
:root { --c: #9727ad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9727ad; background-color: #9727ad; bg-[#9727ad]