#8b87cd
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 | #8b87cd | |
| RGB | rgb(139 135 205) | |
| HSL | hsl(243.43 41.18% 66.67%) | |
| OKLCH | oklch(0.65 0.1 285.79) | |
| CMYK | cmyk(32.2% 34.15% 0% 19.61%) | |
| Android | #ff8b87cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.44: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="#8b87cd"
Gradient stop
<stop stop-color="#8b87cd"/>
CSS variable + fill
:root { --c: #8b87cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8b87cd; background-color: #8b87cd; bg-[#8b87cd]