#762c8a
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 | #762c8a | |
| RGB | rgb(118 44 138) | |
| HSL | hsl(287.23 51.65% 35.69%) | |
| OKLCH | oklch(0.44 0.16 318.36) | |
| CMYK | cmyk(14.49% 68.12% 0% 45.88%) | |
| Android | #ff762c8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.49:1
Fail AA normal text
Fail 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="#762c8a"
Gradient stop
<stop stop-color="#762c8a"/>
CSS variable + fill
:root { --c: #762c8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #762c8a; background-color: #762c8a; bg-[#762c8a]