#9760db
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 | #9760db | |
| RGB | rgb(151 96 219) | |
| HSL | hsl(266.83 63.08% 61.76%) | |
| OKLCH | oklch(0.61 0.18 301.82) | |
| CMYK | cmyk(31.05% 56.16% 0% 14.12%) | |
| Android | #ff9760db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01: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="#9760db"
Gradient stop
<stop stop-color="#9760db"/>
CSS variable + fill
:root { --c: #9760db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9760db; background-color: #9760db; bg-[#9760db]