#7a2feb
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 | #7a2feb | |
| RGB | rgb(122 47 235) | |
| HSL | hsl(263.94 82.46% 55.29%) | |
| OKLCH | oklch(0.53 0.25 293.59) | |
| CMYK | cmyk(48.09% 80% 0% 7.84%) | |
| Android | #ff7a2feb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#7a2feb"
Gradient stop
<stop stop-color="#7a2feb"/>
CSS variable + fill
:root { --c: #7a2feb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7a2feb; background-color: #7a2feb; bg-[#7a2feb]