#5703ba
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 | #5703ba | |
| RGB | rgb(87 3 186) | |
| HSL | hsl(267.54 96.83% 37.06%) | |
| OKLCH | oklch(0.41 0.23 291.81) | |
| CMYK | cmyk(53.23% 98.39% 0% 27.06%) | |
| Android | #ff5703ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.12:1
Fail AA normal text
Fail 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="#5703ba"
Gradient stop
<stop stop-color="#5703ba"/>
CSS variable + fill
:root { --c: #5703ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5703ba; background-color: #5703ba; bg-[#5703ba]