#a15cd6
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 | #a15cd6 | |
| RGB | rgb(161 92 214) | |
| HSL | hsl(273.93 59.8% 60%) | |
| OKLCH | oklch(0.61 0.19 307.91) | |
| CMYK | cmyk(24.77% 57.01% 0% 16.08%) | |
| Android | #ffa15cd6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a15cd6"
Gradient stop
<stop stop-color="#a15cd6"/>
CSS variable + fill
:root { --c: #a15cd6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a15cd6; background-color: #a15cd6; bg-[#a15cd6]