#8a3d8f
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 | #8a3d8f | |
| RGB | rgb(138 61 143) | |
| HSL | hsl(296.34 40.2% 40%) | |
| OKLCH | oklch(0.49 0.15 325.14) | |
| CMYK | cmyk(3.5% 57.34% 0% 43.92%) | |
| Android | #ff8a3d8f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.14: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="#8a3d8f"
Gradient stop
<stop stop-color="#8a3d8f"/>
CSS variable + fill
:root { --c: #8a3d8f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a3d8f; background-color: #8a3d8f; bg-[#8a3d8f]