#905dcb
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 | #905dcb | |
| RGB | rgb(144 93 203) | |
| HSL | hsl(267.82 51.4% 58.04%) | |
| OKLCH | oklch(0.58 0.17 302.99) | |
| CMYK | cmyk(29.06% 54.19% 0% 20.39%) | |
| Android | #ff905dcb |
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="#905dcb"
Gradient stop
<stop stop-color="#905dcb"/>
CSS variable + fill
:root { --c: #905dcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #905dcb; background-color: #905dcb; bg-[#905dcb]