#8a8ecd
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 | #8a8ecd | |
| RGB | rgb(138 142 205) | |
| HSL | hsl(236.42 40.12% 67.25%) | |
| OKLCH | oklch(0.67 0.09 280.75) | |
| CMYK | cmyk(32.68% 30.73% 0% 19.61%) | |
| Android | #ff8a8ecd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.83: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="#8a8ecd"
Gradient stop
<stop stop-color="#8a8ecd"/>
CSS variable + fill
:root { --c: #8a8ecd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a8ecd; background-color: #8a8ecd; bg-[#8a8ecd]