#7e5fac
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 | #7e5fac | |
| RGB | rgb(126 95 172) | |
| HSL | hsl(264.16 31.69% 52.35%) | |
| OKLCH | oklch(0.55 0.12 301.12) | |
| CMYK | cmyk(26.74% 44.77% 0% 32.55%) | |
| Android | #ff7e5fac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.11: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="#7e5fac"
Gradient stop
<stop stop-color="#7e5fac"/>
CSS variable + fill
:root { --c: #7e5fac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e5fac; background-color: #7e5fac; bg-[#7e5fac]