#a487ef
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 | #a487ef | |
| RGB | rgb(164 135 239) | |
| HSL | hsl(256.73 76.47% 73.33%) | |
| OKLCH | oklch(0.69 0.15 295.02) | |
| CMYK | cmyk(31.38% 43.51% 0% 6.27%) | |
| Android | #ffa487ef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.88:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.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="#a487ef"
Gradient stop
<stop stop-color="#a487ef"/>
CSS variable + fill
:root { --c: #a487ef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a487ef; background-color: #a487ef; bg-[#a487ef]