#8a459e
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 | #8a459e | |
| RGB | rgb(138 69 158) | |
| HSL | hsl(286.52 39.21% 44.51%) | |
| OKLCH | oklch(0.51 0.15 318.14) | |
| CMYK | cmyk(12.66% 56.33% 0% 38.04%) | |
| Android | #ff8a459e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.42: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="#8a459e"
Gradient stop
<stop stop-color="#8a459e"/>
CSS variable + fill
:root { --c: #8a459e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a459e; background-color: #8a459e; bg-[#8a459e]