#762aea
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 | #762aea | |
| RGB | rgb(118 42 234) | |
| HSL | hsl(263.75 82.05% 54.12%) | |
| OKLCH | oklch(0.52 0.26 292.7) | |
| CMYK | cmyk(49.57% 82.05% 0% 8.24%) | |
| Android | #ff762aea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.38:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.28: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="#762aea"
Gradient stop
<stop stop-color="#762aea"/>
CSS variable + fill
:root { --c: #762aea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #762aea; background-color: #762aea; bg-[#762aea]