#936afe
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 | #936afe | |
| RGB | rgb(147 106 254) | |
| HSL | hsl(256.62 98.67% 70.59%) | |
| OKLCH | oklch(0.64 0.21 292.16) | |
| CMYK | cmyk(42.13% 58.27% 0% 0.39%) | |
| Android | #ff936afe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.66:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.73: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="#936afe"
Gradient stop
<stop stop-color="#936afe"/>
CSS variable + fill
:root { --c: #936afe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #936afe; background-color: #936afe; bg-[#936afe]