#a45aeb
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 | #a45aeb | |
| RGB | rgb(164 90 235) | |
| HSL | hsl(270.62 78.38% 63.73%) | |
| OKLCH | oklch(0.62 0.21 304.39) | |
| CMYK | cmyk(30.21% 61.7% 0% 7.84%) | |
| Android | #ffa45aeb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24: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="#a45aeb"
Gradient stop
<stop stop-color="#a45aeb"/>
CSS variable + fill
:root { --c: #a45aeb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a45aeb; background-color: #a45aeb; bg-[#a45aeb]