#9241fa
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 | #9241fa | |
| RGB | rgb(146 65 250) | |
| HSL | hsl(266.27 94.87% 61.76%) | |
| OKLCH | oklch(0.58 0.25 297.77) | |
| CMYK | cmyk(41.6% 74% 0% 1.96%) | |
| Android | #ff9241fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35: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="#9241fa"
Gradient stop
<stop stop-color="#9241fa"/>
CSS variable + fill
:root { --c: #9241fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9241fa; background-color: #9241fa; bg-[#9241fa]