#7451ff
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 | #7451ff | |
| RGB | rgb(116 81 255) | |
| HSL | hsl(252.07 100% 65.88%) | |
| OKLCH | oklch(0.58 0.24 285.08) | |
| CMYK | cmyk(54.51% 68.24% 0% 0%) | |
| Android | #ff7451ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.36: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="#7451ff"
Gradient stop
<stop stop-color="#7451ff"/>
CSS variable + fill
:root { --c: #7451ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7451ff; background-color: #7451ff; bg-[#7451ff]