#706daa
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 | #706daa | |
| RGB | rgb(112 109 170) | |
| HSL | hsl(242.95 26.41% 54.71%) | |
| OKLCH | oklch(0.56 0.09 285.23) | |
| CMYK | cmyk(34.12% 35.88% 0% 33.33%) | |
| Android | #ff706daa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.45: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="#706daa"
Gradient stop
<stop stop-color="#706daa"/>
CSS variable + fill
:root { --c: #706daa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #706daa; background-color: #706daa; bg-[#706daa]