#9145da
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 | #9145da | |
| RGB | rgb(145 69 218) | |
| HSL | hsl(270.6 66.82% 56.27%) | |
| OKLCH | oklch(0.56 0.22 303.4) | |
| CMYK | cmyk(33.49% 68.35% 0% 14.51%) | |
| Android | #ff9145da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.16:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.06: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="#9145da"
Gradient stop
<stop stop-color="#9145da"/>
CSS variable + fill
:root { --c: #9145da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9145da; background-color: #9145da; bg-[#9145da]