#985edc
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 | #985edc | |
| RGB | rgb(152 94 220) | |
| HSL | hsl(267.62 64.29% 61.57%) | |
| OKLCH | oklch(0.6 0.19 302.36) | |
| CMYK | cmyk(30.91% 57.27% 0% 13.73%) | |
| Android | #ff985edc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.22:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.96: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="#985edc"
Gradient stop
<stop stop-color="#985edc"/>
CSS variable + fill
:root { --c: #985edc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #985edc; background-color: #985edc; bg-[#985edc]