#7b78ce
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 | #7b78ce | |
| RGB | rgb(123 120 206) | |
| HSL | hsl(242.09 46.74% 63.92%) | |
| OKLCH | oklch(0.61 0.13 283.53) | |
| CMYK | cmyk(40.29% 41.75% 0% 19.22%) | |
| Android | #ff7b78ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.87:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.42:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#7b78ce"
Gradient stop
<stop stop-color="#7b78ce"/>
CSS variable + fill
:root { --c: #7b78ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7b78ce; background-color: #7b78ce; bg-[#7b78ce]