#a66fee
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 | #a66fee | |
| RGB | rgb(166 111 238) | |
| HSL | hsl(265.98 78.88% 68.43%) | |
| OKLCH | oklch(0.65 0.19 301.44) | |
| CMYK | cmyk(30.25% 53.36% 0% 6.67%) | |
| Android | #ffa66fee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12: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="#a66fee"
Gradient stop
<stop stop-color="#a66fee"/>
CSS variable + fill
:root { --c: #a66fee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a66fee; background-color: #a66fee; bg-[#a66fee]