#7a71ff
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 | #7a71ff | |
| RGB | rgb(122 113 255) | |
| HSL | hsl(243.8 100% 72.16%) | |
| OKLCH | oklch(0.63 0.2 281.66) | |
| CMYK | cmyk(52.16% 55.69% 0% 0%) | |
| Android | #ff7a71ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.72:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.63: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="#7a71ff"
Gradient stop
<stop stop-color="#7a71ff"/>
CSS variable + fill
:root { --c: #7a71ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7a71ff; background-color: #7a71ff; bg-[#7a71ff]