#987ead
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 | #987ead | |
| RGB | rgb(152 126 173) | |
| HSL | hsl(273.19 22.27% 58.63%) | |
| OKLCH | oklch(0.63 0.07 309.47) | |
| CMYK | cmyk(12.14% 27.17% 0% 32.16%) | |
| Android | #ff987ead |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.92: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="#987ead"
Gradient stop
<stop stop-color="#987ead"/>
CSS variable + fill
:root { --c: #987ead; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #987ead; background-color: #987ead; bg-[#987ead]