#9d4edd
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 | #9d4edd | |
| RGB | rgb(157 78 221) | |
| HSL | hsl(273.15 67.77% 58.63%) | |
| OKLCH | oklch(0.59 0.21 306.32) | |
| CMYK | cmyk(28.96% 64.71% 0% 13.33%) | |
| Android | #ff9d4edd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass 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="#9d4edd"
Gradient stop
<stop stop-color="#9d4edd"/>
CSS variable + fill
:root { --c: #9d4edd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9d4edd; background-color: #9d4edd; bg-[#9d4edd]