#9b3bec
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 | #9b3bec | |
| RGB | rgb(155 59 236) | |
| HSL | hsl(272.54 82.33% 57.84%) | |
| OKLCH | oklch(0.58 0.25 304.07) | |
| CMYK | cmyk(34.32% 75% 0% 7.45%) | |
| Android | #ff9b3bec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.23: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="#9b3bec"
Gradient stop
<stop stop-color="#9b3bec"/>
CSS variable + fill
:root { --c: #9b3bec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9b3bec; background-color: #9b3bec; bg-[#9b3bec]