#8a37bf
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 | #8a37bf | |
| RGB | rgb(138 55 191) | |
| HSL | hsl(276.62 55.28% 48.24%) | |
| OKLCH | oklch(0.52 0.21 308.77) | |
| CMYK | cmyk(27.75% 71.2% 0% 25.1%) | |
| Android | #ff8a37bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.21:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.37: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="#8a37bf"
Gradient stop
<stop stop-color="#8a37bf"/>
CSS variable + fill
:root { --c: #8a37bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a37bf; background-color: #8a37bf; bg-[#8a37bf]