#956bdb
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 | #956bdb | |
| RGB | rgb(149 107 219) | |
| HSL | hsl(262.5 60.87% 63.92%) | |
| OKLCH | oklch(0.62 0.17 298.79) | |
| CMYK | cmyk(31.96% 51.14% 0% 14.12%) | |
| Android | #ff956bdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.40: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="#956bdb"
Gradient stop
<stop stop-color="#956bdb"/>
CSS variable + fill
:root { --c: #956bdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #956bdb; background-color: #956bdb; bg-[#956bdb]