#996deb
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 | #996deb | |
| RGB | rgb(153 109 235) | |
| HSL | hsl(260.95 75.9% 67.45%) | |
| OKLCH | oklch(0.64 0.18 297) | |
| CMYK | cmyk(34.89% 53.62% 0% 7.84%) | |
| Android | #ff996deb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74: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="#996deb"
Gradient stop
<stop stop-color="#996deb"/>
CSS variable + fill
:root { --c: #996deb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #996deb; background-color: #996deb; bg-[#996deb]