#905bd2
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 | #905bd2 | |
| RGB | rgb(144 91 210) | |
| HSL | hsl(266.72 56.94% 59.02%) | |
| OKLCH | oklch(0.58 0.18 301.68) | |
| CMYK | cmyk(31.43% 56.67% 0% 17.65%) | |
| Android | #ff905bd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#905bd2"
Gradient stop
<stop stop-color="#905bd2"/>
CSS variable + fill
:root { --c: #905bd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #905bd2; background-color: #905bd2; bg-[#905bd2]