#8148da
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 | #8148da | |
| RGB | rgb(129 72 218) | |
| HSL | hsl(263.42 66.36% 56.86%) | |
| OKLCH | oklch(0.55 0.21 296.7) | |
| CMYK | cmyk(40.83% 66.97% 0% 14.51%) | |
| Android | #ff8148da |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87: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="#8148da"
Gradient stop
<stop stop-color="#8148da"/>
CSS variable + fill
:root { --c: #8148da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8148da; background-color: #8148da; bg-[#8148da]