#7431dc
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 | #7431dc | |
| RGB | rgb(116 49 220) | |
| HSL | hsl(263.51 70.95% 52.75%) | |
| OKLCH | oklch(0.51 0.24 293.93) | |
| CMYK | cmyk(47.27% 77.73% 0% 13.73%) | |
| Android | #ff7431dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.21: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="#7431dc"
Gradient stop
<stop stop-color="#7431dc"/>
CSS variable + fill
:root { --c: #7431dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7431dc; background-color: #7431dc; bg-[#7431dc]