#795edf
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 | #795edf | |
| RGB | rgb(121 94 223) | |
| HSL | hsl(252.56 66.84% 62.16%) | |
| OKLCH | oklch(0.58 0.19 288.7) | |
| CMYK | cmyk(45.74% 57.85% 0% 12.55%) | |
| Android | #ff795edf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.47: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="#795edf"
Gradient stop
<stop stop-color="#795edf"/>
CSS variable + fill
:root { --c: #795edf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #795edf; background-color: #795edf; bg-[#795edf]