#9726ec
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 | #9726ec | |
| RGB | rgb(151 38 236) | |
| HSL | hsl(274.24 83.9% 53.73%) | |
| OKLCH | oklch(0.55 0.27 304.05) | |
| CMYK | cmyk(36.02% 83.9% 0% 7.45%) | |
| Android | #ff9726ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.80: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="#9726ec"
Gradient stop
<stop stop-color="#9726ec"/>
CSS variable + fill
:root { --c: #9726ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9726ec; background-color: #9726ec; bg-[#9726ec]