#8a5ffc
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 | #8a5ffc | |
| RGB | rgb(138 95 252) | |
| HSL | hsl(256.43 96.32% 68.04%) | |
| OKLCH | oklch(0.61 0.22 291.01) | |
| CMYK | cmyk(45.24% 62.3% 0% 1.18%) | |
| Android | #ff8a5ffc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.12:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#8a5ffc"
Gradient stop
<stop stop-color="#8a5ffc"/>
CSS variable + fill
:root { --c: #8a5ffc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a5ffc; background-color: #8a5ffc; bg-[#8a5ffc]