#ae40fa
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 | #ae40fa | |
| RGB | rgb(174 64 250) | |
| HSL | hsl(275.48 94.9% 61.57%) | |
| OKLCH | oklch(0.61 0.26 307.07) | |
| CMYK | cmyk(30.4% 74.4% 0% 1.96%) | |
| Android | #ffae40fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.27:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.91: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="#ae40fa"
Gradient stop
<stop stop-color="#ae40fa"/>
CSS variable + fill
:root { --c: #ae40fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ae40fa; background-color: #ae40fa; bg-[#ae40fa]