#9420cd
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 | #9420cd | |
| RGB | rgb(148 32 205) | |
| HSL | hsl(280.23 73% 46.47%) | |
| OKLCH | oklch(0.52 0.24 310.45) | |
| CMYK | cmyk(27.8% 84.39% 0% 19.61%) | |
| Android | #ff9420cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#9420cd"
Gradient stop
<stop stop-color="#9420cd"/>
CSS variable + fill
:root { --c: #9420cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9420cd; background-color: #9420cd; bg-[#9420cd]