#8043af
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 | #8043af | |
| RGB | rgb(128 67 175) | |
| HSL | hsl(273.89 44.63% 47.45%) | |
| OKLCH | oklch(0.51 0.17 307.46) | |
| CMYK | cmyk(26.86% 61.71% 0% 31.37%) | |
| Android | #ff8043af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#8043af"
Gradient stop
<stop stop-color="#8043af"/>
CSS variable + fill
:root { --c: #8043af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8043af; background-color: #8043af; bg-[#8043af]