#795ecf
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 | #795ecf | |
| RGB | rgb(121 94 207) | |
| HSL | hsl(254.34 54.07% 59.02%) | |
| OKLCH | oklch(0.56 0.17 291.07) | |
| CMYK | cmyk(41.55% 54.59% 0% 18.82%) | |
| Android | #ff795ecf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#795ecf"
Gradient stop
<stop stop-color="#795ecf"/>
CSS variable + fill
:root { --c: #795ecf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #795ecf; background-color: #795ecf; bg-[#795ecf]