#8020da
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 | #8020da | |
| RGB | rgb(128 32 218) | |
| HSL | hsl(270.97 74.4% 49.02%) | |
| OKLCH | oklch(0.51 0.25 300.12) | |
| CMYK | cmyk(41.28% 85.32% 0% 14.51%) | |
| Android | #ff8020da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#8020da"
Gradient stop
<stop stop-color="#8020da"/>
CSS variable + fill
:root { --c: #8020da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8020da; background-color: #8020da; bg-[#8020da]