#8f70da
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 | #8f70da | |
| RGB | rgb(143 112 218) | |
| HSL | hsl(257.55 58.89% 64.71%) | |
| OKLCH | oklch(0.62 0.16 294.94) | |
| CMYK | cmyk(34.4% 48.62% 0% 14.51%) | |
| Android | #ff8f70da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.81:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.49: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="#8f70da"
Gradient stop
<stop stop-color="#8f70da"/>
CSS variable + fill
:root { --c: #8f70da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8f70da; background-color: #8f70da; bg-[#8f70da]