#a148da
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 | #a148da | |
| RGB | rgb(161 72 218) | |
| HSL | hsl(276.58 66.36% 56.86%) | |
| OKLCH | oklch(0.58 0.22 309.16) | |
| CMYK | cmyk(26.15% 66.97% 0% 14.51%) | |
| Android | #ffa148da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.45:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a148da"
Gradient stop
<stop stop-color="#a148da"/>
CSS variable + fill
:root { --c: #a148da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a148da; background-color: #a148da; bg-[#a148da]