#9271da
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 | #9271da | |
| RGB | rgb(146 113 218) | |
| HSL | hsl(258.86 58.66% 64.9%) | |
| OKLCH | oklch(0.63 0.16 296.13) | |
| CMYK | cmyk(33.03% 48.17% 0% 14.51%) | |
| Android | #ff9271da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#9271da"
Gradient stop
<stop stop-color="#9271da"/>
CSS variable + fill
:root { --c: #9271da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9271da; background-color: #9271da; bg-[#9271da]