#ae54eb
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 | #ae54eb | |
| RGB | rgb(174 84 235) | |
| HSL | hsl(275.76 79.06% 62.55%) | |
| OKLCH | oklch(0.62 0.22 308.71) | |
| CMYK | cmyk(25.96% 64.26% 0% 7.84%) | |
| Android | #ffae54eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.98:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.26: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="#ae54eb"
Gradient stop
<stop stop-color="#ae54eb"/>
CSS variable + fill
:root { --c: #ae54eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ae54eb; background-color: #ae54eb; bg-[#ae54eb]