#996eeb
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 | #996eeb | |
| RGB | rgb(153 110 235) | |
| HSL | hsl(260.64 75.76% 67.65%) | |
| OKLCH | oklch(0.64 0.18 296.8) | |
| CMYK | cmyk(34.89% 53.19% 0% 7.84%) | |
| Android | #ff996eeb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.63:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.78: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="#996eeb"
Gradient stop
<stop stop-color="#996eeb"/>
CSS variable + fill
:root { --c: #996eeb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #996eeb; background-color: #996eeb; bg-[#996eeb]