#7f71be
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 | #7f71be | |
| RGB | rgb(127 113 190) | |
| HSL | hsl(250.91 37.2% 59.41%) | |
| OKLCH | oklch(0.59 0.12 290.79) | |
| CMYK | cmyk(33.16% 40.53% 0% 25.49%) | |
| Android | #ff7f71be |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.00: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="#7f71be"
Gradient stop
<stop stop-color="#7f71be"/>
CSS variable + fill
:root { --c: #7f71be; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7f71be; background-color: #7f71be; bg-[#7f71be]