#8e29bd
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 | #8e29bd | |
| RGB | rgb(142 41 189) | |
| HSL | hsl(280.95 64.35% 45.1%) | |
| OKLCH | oklch(0.51 0.22 312) | |
| CMYK | cmyk(24.87% 78.31% 0% 25.88%) | |
| Android | #ff8e29bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.20: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="#8e29bd"
Gradient stop
<stop stop-color="#8e29bd"/>
CSS variable + fill
:root { --c: #8e29bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8e29bd; background-color: #8e29bd; bg-[#8e29bd]