#8d7eee
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 | #8d7eee | |
| RGB | rgb(141 126 238) | |
| HSL | hsl(248.04 76.71% 71.37%) | |
| OKLCH | oklch(0.66 0.16 287.2) | |
| CMYK | cmyk(40.76% 47.06% 0% 6.67%) | |
| Android | #ff8d7eee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.35: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="#8d7eee"
Gradient stop
<stop stop-color="#8d7eee"/>
CSS variable + fill
:root { --c: #8d7eee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8d7eee; background-color: #8d7eee; bg-[#8d7eee]