#705cab
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 | #705cab | |
| RGB | rgb(112 92 171) | |
| HSL | hsl(255.19 31.98% 51.57%) | |
| OKLCH | oklch(0.53 0.12 293.47) | |
| CMYK | cmyk(34.5% 46.2% 0% 32.94%) | |
| Android | #ff705cab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.80: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="#705cab"
Gradient stop
<stop stop-color="#705cab"/>
CSS variable + fill
:root { --c: #705cab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #705cab; background-color: #705cab; bg-[#705cab]