#8a45bd
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 | #8a45bd | |
| RGB | rgb(138 69 189) | |
| HSL | hsl(274.5 47.62% 50.59%) | |
| OKLCH | oklch(0.53 0.18 307.76) | |
| CMYK | cmyk(26.98% 63.49% 0% 25.88%) | |
| Android | #ff8a45bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.72:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.66: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="#8a45bd"
Gradient stop
<stop stop-color="#8a45bd"/>
CSS variable + fill
:root { --c: #8a45bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a45bd; background-color: #8a45bd; bg-[#8a45bd]