#905ecf
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 | #905ecf | |
| RGB | rgb(144 94 207) | |
| HSL | hsl(266.55 54.07% 59.02%) | |
| OKLCH | oklch(0.59 0.17 301.83) | |
| CMYK | cmyk(30.43% 54.59% 0% 18.82%) | |
| Android | #ff905ecf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.68: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="#905ecf"
Gradient stop
<stop stop-color="#905ecf"/>
CSS variable + fill
:root { --c: #905ecf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #905ecf; background-color: #905ecf; bg-[#905ecf]