#7b1ede
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 | #7b1ede | |
| RGB | rgb(123 30 222) | |
| HSL | hsl(269.06 76.19% 49.41%) | |
| OKLCH | oklch(0.5 0.25 297.54) | |
| CMYK | cmyk(44.59% 86.49% 0% 12.94%) | |
| Android | #ff7b1ede |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.08: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="#7b1ede"
Gradient stop
<stop stop-color="#7b1ede"/>
CSS variable + fill
:root { --c: #7b1ede; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7b1ede; background-color: #7b1ede; bg-[#7b1ede]