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