#8a15bb
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 | #8a15bb | |
| RGB | rgb(138 21 187) | |
| HSL | hsl(282.29 79.81% 40.78%) | |
| OKLCH | oklch(0.49 0.23 312.01) | |
| CMYK | cmyk(26.2% 88.77% 0% 26.67%) | |
| Android | #ff8a15bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.90:1
Fail AA normal text
Fail 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="#8a15bb"
Gradient stop
<stop stop-color="#8a15bb"/>
CSS variable + fill
:root { --c: #8a15bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a15bb; background-color: #8a15bb; bg-[#8a15bb]