#7331ed
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 | #7331ed | |
| RGB | rgb(115 49 237) | |
| HSL | hsl(261.06 83.93% 56.08%) | |
| OKLCH | oklch(0.52 0.25 290.6) | |
| CMYK | cmyk(51.48% 79.32% 0% 7.06%) | |
| Android | #ff7331ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.19:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.39: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="#7331ed"
Gradient stop
<stop stop-color="#7331ed"/>
CSS variable + fill
:root { --c: #7331ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7331ed; background-color: #7331ed; bg-[#7331ed]