#a147db
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 | #a147db | |
| RGB | rgb(161 71 219) | |
| HSL | hsl(276.49 67.27% 56.86%) | |
| OKLCH | oklch(0.58 0.22 309.01) | |
| CMYK | cmyk(26.48% 67.58% 0% 14.12%) | |
| Android | #ffa147db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.43: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="#a147db"
Gradient stop
<stop stop-color="#a147db"/>
CSS variable + fill
:root { --c: #a147db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a147db; background-color: #a147db; bg-[#a147db]