#846dfc
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 | #846dfc | |
| RGB | rgb(132 109 252) | |
| HSL | hsl(249.65 95.97% 70.78%) | |
| OKLCH | oklch(0.63 0.2 286.33) | |
| CMYK | cmyk(47.62% 56.75% 0% 1.18%) | |
| Android | #ff846dfc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.57: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="#846dfc"
Gradient stop
<stop stop-color="#846dfc"/>
CSS variable + fill
:root { --c: #846dfc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #846dfc; background-color: #846dfc; bg-[#846dfc]