#e8a6fc
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 | #e8a6fc | |
| RGB | rgb(232 166 252) | |
| HSL | hsl(286.05 93.48% 81.96%) | |
| OKLCH | oklch(0.82 0.14 318.16) | |
| CMYK | cmyk(7.94% 34.13% 0% 1.18%) | |
| Android | #ffe8a6fc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.85:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.29: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="#e8a6fc"
Gradient stop
<stop stop-color="#e8a6fc"/>
CSS variable + fill
:root { --c: #e8a6fc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #e8a6fc; background-color: #e8a6fc; bg-[#e8a6fc]