#7c66ea
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 | #7c66ea | |
| RGB | rgb(124 102 234) | |
| HSL | hsl(250 75.86% 65.88%) | |
| OKLCH | oklch(0.6 0.19 286.77) | |
| CMYK | cmyk(47.01% 56.41% 0% 8.24%) | |
| Android | #ff7c66ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.94: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="#7c66ea"
Gradient stop
<stop stop-color="#7c66ea"/>
CSS variable + fill
:root { --c: #7c66ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7c66ea; background-color: #7c66ea; bg-[#7c66ea]