#8126eb
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 | #8126eb | |
| RGB | rgb(129 38 235) | |
| HSL | hsl(267.72 83.12% 53.53%) | |
| OKLCH | oklch(0.53 0.26 296.69) | |
| CMYK | cmyk(45.11% 83.83% 0% 7.84%) | |
| Android | #ff8126eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.41: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="#8126eb"
Gradient stop
<stop stop-color="#8126eb"/>
CSS variable + fill
:root { --c: #8126eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8126eb; background-color: #8126eb; bg-[#8126eb]