#a15efc
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 | #a15efc | |
| RGB | rgb(161 94 252) | |
| HSL | hsl(265.44 96.34% 67.84%) | |
| OKLCH | oklch(0.63 0.23 299.41) | |
| CMYK | cmyk(36.11% 62.7% 0% 1.18%) | |
| Android | #ffa15efc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.52: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="#a15efc"
Gradient stop
<stop stop-color="#a15efc"/>
CSS variable + fill
:root { --c: #a15efc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a15efc; background-color: #a15efc; bg-[#a15efc]