#a148cb
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 | #a148cb | |
| RGB | rgb(161 72 203) | |
| HSL | hsl(280.76 55.74% 53.92%) | |
| OKLCH | oklch(0.57 0.2 313.1) | |
| CMYK | cmyk(20.69% 64.53% 0% 20.39%) | |
| Android | #ffa148cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.30: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="#a148cb"
Gradient stop
<stop stop-color="#a148cb"/>
CSS variable + fill
:root { --c: #a148cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a148cb; background-color: #a148cb; bg-[#a148cb]