#a554fe
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 | #a554fe | |
| RGB | rgb(165 84 254) | |
| HSL | hsl(268.59 98.84% 66.27%) | |
| OKLCH | oklch(0.63 0.24 301.61) | |
| CMYK | cmyk(35.04% 66.93% 0% 0.39%) | |
| Android | #ffa554fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.96:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#a554fe"
Gradient stop
<stop stop-color="#a554fe"/>
CSS variable + fill
:root { --c: #a554fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a554fe; background-color: #a554fe; bg-[#a554fe]