#7e26eb
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 | #7e26eb | |
| RGB | rgb(126 38 235) | |
| HSL | hsl(266.8 83.12% 53.53%) | |
| OKLCH | oklch(0.52 0.26 295.63) | |
| CMYK | cmyk(46.38% 83.83% 0% 7.84%) | |
| Android | #ff7e26eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.36: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="#7e26eb"
Gradient stop
<stop stop-color="#7e26eb"/>
CSS variable + fill
:root { --c: #7e26eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7e26eb; background-color: #7e26eb; bg-[#7e26eb]