#916cc8
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 | #916cc8 | |
| RGB | rgb(145 108 200) | |
| HSL | hsl(264.13 45.54% 60.39%) | |
| OKLCH | oklch(0.61 0.14 300.9) | |
| CMYK | cmyk(27.5% 46% 0% 21.57%) | |
| Android | #ff916cc8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.18: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="#916cc8"
Gradient stop
<stop stop-color="#916cc8"/>
CSS variable + fill
:root { --c: #916cc8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #916cc8; background-color: #916cc8; bg-[#916cc8]