#9181eb
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 | #9181eb | |
| RGB | rgb(145 129 235) | |
| HSL | hsl(249.06 72.6% 71.37%) | |
| OKLCH | oklch(0.66 0.15 288.42) | |
| CMYK | cmyk(38.3% 45.11% 0% 7.84%) | |
| Android | #ff9181eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.20:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.54: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="#9181eb"
Gradient stop
<stop stop-color="#9181eb"/>
CSS variable + fill
:root { --c: #9181eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9181eb; background-color: #9181eb; bg-[#9181eb]