#8a6cbb
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 | #8a6cbb | |
| RGB | rgb(138 108 187) | |
| HSL | hsl(262.78 36.74% 57.84%) | |
| OKLCH | oklch(0.59 0.12 300.26) | |
| CMYK | cmyk(26.2% 42.25% 0% 26.67%) | |
| Android | #ff8a6cbb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#8a6cbb"
Gradient stop
<stop stop-color="#8a6cbb"/>
CSS variable + fill
:root { --c: #8a6cbb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a6cbb; background-color: #8a6cbb; bg-[#8a6cbb]