#866cd2
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 | #866cd2 | |
| RGB | rgb(134 108 210) | |
| HSL | hsl(255.29 53.13% 62.35%) | |
| OKLCH | oklch(0.6 0.15 293.05) | |
| CMYK | cmyk(36.19% 48.57% 0% 17.65%) | |
| Android | #ff866cd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.12:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.08: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="#866cd2"
Gradient stop
<stop stop-color="#866cd2"/>
CSS variable + fill
:root { --c: #866cd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #866cd2; background-color: #866cd2; bg-[#866cd2]