#8a4cdf
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 | #8a4cdf | |
| RGB | rgb(138 76 223) | |
| HSL | hsl(265.31 69.67% 58.63%) | |
| OKLCH | oklch(0.57 0.21 298.73) | |
| CMYK | cmyk(38.12% 65.92% 0% 12.55%) | |
| Android | #ff8a4cdf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17: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="#8a4cdf"
Gradient stop
<stop stop-color="#8a4cdf"/>
CSS variable + fill
:root { --c: #8a4cdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a4cdf; background-color: #8a4cdf; bg-[#8a4cdf]