#a670bd
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 | #a670bd | |
| RGB | rgb(166 112 189) | |
| HSL | hsl(282.08 36.84% 59.02%) | |
| OKLCH | oklch(0.63 0.13 315.29) | |
| CMYK | cmyk(12.17% 40.74% 0% 25.88%) | |
| Android | #ffa670bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.70:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.67: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="#a670bd"
Gradient stop
<stop stop-color="#a670bd"/>
CSS variable + fill
:root { --c: #a670bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a670bd; background-color: #a670bd; bg-[#a670bd]