#866eaa
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 | #866eaa | |
| RGB | rgb(134 110 170) | |
| HSL | hsl(264 26.09% 54.9%) | |
| OKLCH | oklch(0.58 0.09 301.98) | |
| CMYK | cmyk(21.18% 35.29% 0% 33.33%) | |
| Android | #ff866eaa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82: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="#866eaa"
Gradient stop
<stop stop-color="#866eaa"/>
CSS variable + fill
:root { --c: #866eaa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #866eaa; background-color: #866eaa; bg-[#866eaa]