#9c9dfd
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 | #9c9dfd | |
| RGB | rgb(156 157 253) | |
| HSL | hsl(239.38 96.04% 80.2%) | |
| OKLCH | oklch(0.73 0.14 282.01) | |
| CMYK | cmyk(38.34% 37.94% 0% 0.78%) | |
| Android | #ff9c9dfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.42:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.65: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="#9c9dfd"
Gradient stop
<stop stop-color="#9c9dfd"/>
CSS variable + fill
:root { --c: #9c9dfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9c9dfd; background-color: #9c9dfd; bg-[#9c9dfd]