#772fcc
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 | #772fcc | |
| RGB | rgb(119 47 204) | |
| HSL | hsl(267.52 62.55% 49.22%) | |
| OKLCH | oklch(0.5 0.22 298.56) | |
| CMYK | cmyk(41.67% 76.96% 0% 20%) | |
| Android | #ff772fcc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.06: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="#772fcc"
Gradient stop
<stop stop-color="#772fcc"/>
CSS variable + fill
:root { --c: #772fcc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #772fcc; background-color: #772fcc; bg-[#772fcc]