#846efe
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 | #846efe | |
| RGB | rgb(132 110 254) | |
| HSL | hsl(249.17 98.63% 71.37%) | |
| OKLCH | oklch(0.63 0.21 285.91) | |
| CMYK | cmyk(48.03% 56.69% 0% 0.39%) | |
| Android | #ff846efe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.72:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.64: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="#846efe"
Gradient stop
<stop stop-color="#846efe"/>
CSS variable + fill
:root { --c: #846efe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #846efe; background-color: #846efe; bg-[#846efe]