#ae87ff
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 | #ae87ff | |
| RGB | rgb(174 135 255) | |
| HSL | hsl(259.5 100% 76.47%) | |
| OKLCH | oklch(0.71 0.17 296.78) | |
| CMYK | cmyk(31.76% 47.06% 0% 0%) | |
| Android | #ffae87ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.70: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="#ae87ff"
Gradient stop
<stop stop-color="#ae87ff"/>
CSS variable + fill
:root { --c: #ae87ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ae87ff; background-color: #ae87ff; bg-[#ae87ff]