#8b3aba
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 | #8b3aba | |
| RGB | rgb(139 58 186) | |
| HSL | hsl(277.97 52.46% 47.84%) | |
| OKLCH | oklch(0.52 0.2 310.3) | |
| CMYK | cmyk(25.27% 68.82% 0% 27.06%) | |
| Android | #ff8b3aba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.41: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="#8b3aba"
Gradient stop
<stop stop-color="#8b3aba"/>
CSS variable + fill
:root { --c: #8b3aba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8b3aba; background-color: #8b3aba; bg-[#8b3aba]