#845aef
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 | #845aef | |
| RGB | rgb(132 90 239) | |
| HSL | hsl(256.91 82.32% 64.51%) | |
| OKLCH | oklch(0.59 0.21 291.49) | |
| CMYK | cmyk(44.77% 62.34% 0% 6.27%) | |
| Android | #ff845aef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.68: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="#845aef"
Gradient stop
<stop stop-color="#845aef"/>
CSS variable + fill
:root { --c: #845aef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #845aef; background-color: #845aef; bg-[#845aef]