#8a0d87
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 | #8a0d87 | |
| RGB | rgb(138 13 135) | |
| HSL | hsl(301.44 82.78% 29.61%) | |
| OKLCH | oklch(0.45 0.2 329.44) | |
| CMYK | cmyk(0% 90.58% 2.17% 45.88%) | |
| Android | #ff8a0d87 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.44:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.48:1
Fail AA normal text
Fail 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="#8a0d87"
Gradient stop
<stop stop-color="#8a0d87"/>
CSS variable + fill
:root { --c: #8a0d87; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a0d87; background-color: #8a0d87; bg-[#8a0d87]