#7a45f1
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 | #7a45f1 | |
| RGB | rgb(122 69 241) | |
| HSL | hsl(258.49 86% 60.78%) | |
| OKLCH | oklch(0.56 0.24 290.48) | |
| CMYK | cmyk(49.38% 71.37% 0% 5.49%) | |
| Android | #ff7a45f1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.94: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="#7a45f1"
Gradient stop
<stop stop-color="#7a45f1"/>
CSS variable + fill
:root { --c: #7a45f1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7a45f1; background-color: #7a45f1; bg-[#7a45f1]