#901cbe
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 | #901cbe | |
| RGB | rgb(144 28 190) | |
| HSL | hsl(282.96 74.31% 42.75%) | |
| OKLCH | oklch(0.5 0.23 313.14) | |
| CMYK | cmyk(24.21% 85.26% 0% 25.49%) | |
| Android | #ff901cbe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.09: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="#901cbe"
Gradient stop
<stop stop-color="#901cbe"/>
CSS variable + fill
:root { --c: #901cbe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #901cbe; background-color: #901cbe; bg-[#901cbe]