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