#9745ce
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 | #9745ce | |
| RGB | rgb(151 69 206) | |
| HSL | hsl(275.91 58.3% 53.92%) | |
| OKLCH | oklch(0.56 0.21 308.64) | |
| CMYK | cmyk(26.7% 66.5% 0% 19.22%) | |
| Android | #ff9745ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.05: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="#9745ce"
Gradient stop
<stop stop-color="#9745ce"/>
CSS variable + fill
:root { --c: #9745ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9745ce; background-color: #9745ce; bg-[#9745ce]