#812ee2
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 | #812ee2 | |
| RGB | rgb(129 46 226) | |
| HSL | hsl(267.67 75.63% 53.33%) | |
| OKLCH | oklch(0.53 0.25 297.9) | |
| CMYK | cmyk(42.92% 79.65% 0% 11.37%) | |
| Android | #ff812ee2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.42:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#812ee2"
Gradient stop
<stop stop-color="#812ee2"/>
CSS variable + fill
:root { --c: #812ee2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #812ee2; background-color: #812ee2; bg-[#812ee2]