#5949ff
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 | #5949ff | |
| RGB | rgb(89 73 255) | |
| HSL | hsl(245.27 100% 64.31%) | |
| OKLCH | oklch(0.55 0.26 277.65) | |
| CMYK | cmyk(65.1% 71.37% 0% 0%) | |
| Android | #ff5949ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.82: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="#5949ff"
Gradient stop
<stop stop-color="#5949ff"/>
CSS variable + fill
:root { --c: #5949ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5949ff; background-color: #5949ff; bg-[#5949ff]