#7d2fdd
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 | #7d2fdd | |
| RGB | rgb(125 47 221) | |
| HSL | hsl(266.9 71.9% 52.55%) | |
| OKLCH | oklch(0.52 0.24 297.33) | |
| CMYK | cmyk(43.44% 78.73% 0% 13.33%) | |
| Android | #ff7d2fdd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.32: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="#7d2fdd"
Gradient stop
<stop stop-color="#7d2fdd"/>
CSS variable + fill
:root { --c: #7d2fdd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7d2fdd; background-color: #7d2fdd; bg-[#7d2fdd]