#9730ba
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 | #9730ba | |
| RGB | rgb(151 48 186) | |
| HSL | hsl(284.78 58.97% 45.88%) | |
| OKLCH | oklch(0.52 0.21 315.89) | |
| CMYK | cmyk(18.82% 74.19% 0% 27.06%) | |
| Android | #ff9730ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.44: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="#9730ba"
Gradient stop
<stop stop-color="#9730ba"/>
CSS variable + fill
:root { --c: #9730ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9730ba; background-color: #9730ba; bg-[#9730ba]