#8d58cd
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 | #8d58cd | |
| RGB | rgb(141 88 205) | |
| HSL | hsl(267.18 53.92% 57.45%) | |
| OKLCH | oklch(0.57 0.18 302.04) | |
| CMYK | cmyk(31.22% 57.07% 0% 19.61%) | |
| Android | #ff8d58cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40: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="#8d58cd"
Gradient stop
<stop stop-color="#8d58cd"/>
CSS variable + fill
:root { --c: #8d58cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8d58cd; background-color: #8d58cd; bg-[#8d58cd]