#a660cd
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 | #a660cd | |
| RGB | rgb(166 96 205) | |
| HSL | hsl(278.53 52.15% 59.02%) | |
| OKLCH | oklch(0.61 0.17 312.03) | |
| CMYK | cmyk(19.02% 53.17% 0% 19.61%) | |
| Android | #ffa660cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.17: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="#a660cd"
Gradient stop
<stop stop-color="#a660cd"/>
CSS variable + fill
:root { --c: #a660cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a660cd; background-color: #a660cd; bg-[#a660cd]