#8d8feb
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 | #8d8feb | |
| RGB | rgb(141 143 235) | |
| HSL | hsl(238.72 70.15% 73.73%) | |
| OKLCH | oklch(0.69 0.13 281.32) | |
| CMYK | cmyk(40% 39.15% 0% 7.84%) | |
| Android | #ff8d8feb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.89:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.26: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="#8d8feb"
Gradient stop
<stop stop-color="#8d8feb"/>
CSS variable + fill
:root { --c: #8d8feb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8d8feb; background-color: #8d8feb; bg-[#8d8feb]