#846fed
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 | #846fed | |
| RGB | rgb(132 111 237) | |
| HSL | hsl(250 77.78% 68.24%) | |
| OKLCH | oklch(0.62 0.18 287.54) | |
| CMYK | cmyk(44.3% 53.16% 0% 7.06%) | |
| Android | #ff846fed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.83:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.47: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="#846fed"
Gradient stop
<stop stop-color="#846fed"/>
CSS variable + fill
:root { --c: #846fed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #846fed; background-color: #846fed; bg-[#846fed]