#8c8eda
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 | #8c8eda | |
| RGB | rgb(140 142 218) | |
| HSL | hsl(238.46 51.32% 70.2%) | |
| OKLCH | oklch(0.68 0.11 281.83) | |
| CMYK | cmyk(35.78% 34.86% 0% 14.51%) | |
| Android | #ff8c8eda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.99: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="#8c8eda"
Gradient stop
<stop stop-color="#8c8eda"/>
CSS variable + fill
:root { --c: #8c8eda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8c8eda; background-color: #8c8eda; bg-[#8c8eda]