#8a6dbf
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 | #8a6dbf | |
| RGB | rgb(138 109 191) | |
| HSL | hsl(261.22 39.05% 58.82%) | |
| OKLCH | oklch(0.6 0.12 298.89) | |
| CMYK | cmyk(27.75% 42.93% 0% 25.1%) | |
| Android | #ff8a6dbf |
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.02: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="#8a6dbf"
Gradient stop
<stop stop-color="#8a6dbf"/>
CSS variable + fill
:root { --c: #8a6dbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a6dbf; background-color: #8a6dbf; bg-[#8a6dbf]