#7f41fe
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 | #7f41fe | |
| RGB | rgb(127 65 254) | |
| HSL | hsl(259.68 98.95% 62.55%) | |
| OKLCH | oklch(0.57 0.26 290.68) | |
| CMYK | cmyk(50% 74.41% 0% 0.39%) | |
| Android | #ff7f41fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08: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="#7f41fe"
Gradient stop
<stop stop-color="#7f41fe"/>
CSS variable + fill
:root { --c: #7f41fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7f41fe; background-color: #7f41fe; bg-[#7f41fe]