#8070da
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 | #8070da | |
| RGB | rgb(128 112 218) | |
| HSL | hsl(249.06 58.89% 64.71%) | |
| OKLCH | oklch(0.61 0.16 287.78) | |
| CMYK | cmyk(41.28% 48.62% 0% 14.51%) | |
| Android | #ff8070da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24: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="#8070da"
Gradient stop
<stop stop-color="#8070da"/>
CSS variable + fill
:root { --c: #8070da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8070da; background-color: #8070da; bg-[#8070da]