#956bcf
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 | #956bcf | |
| RGB | rgb(149 107 207) | |
| HSL | hsl(265.2 51.02% 61.57%) | |
| OKLCH | oklch(0.61 0.15 301.5) | |
| CMYK | cmyk(28.02% 48.31% 0% 18.82%) | |
| Android | #ff956bcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.97:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.28: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="#956bcf"
Gradient stop
<stop stop-color="#956bcf"/>
CSS variable + fill
:root { --c: #956bcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #956bcf; background-color: #956bcf; bg-[#956bcf]