#8057fb
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 | #8057fb | |
| RGB | rgb(128 87 251) | |
| HSL | hsl(255 95.35% 66.27%) | |
| OKLCH | oklch(0.59 0.23 288.82) | |
| CMYK | cmyk(49% 65.34% 0% 1.57%) | |
| Android | #ff8057fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.49:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.67: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="#8057fb"
Gradient stop
<stop stop-color="#8057fb"/>
CSS variable + fill
:root { --c: #8057fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8057fb; background-color: #8057fb; bg-[#8057fb]