#985ed0
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 | #985ed0 | |
| RGB | rgb(152 94 208) | |
| HSL | hsl(270.53 54.81% 59.22%) | |
| OKLCH | oklch(0.6 0.17 305.24) | |
| CMYK | cmyk(26.92% 54.81% 0% 18.43%) | |
| Android | #ff985ed0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.84: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="#985ed0"
Gradient stop
<stop stop-color="#985ed0"/>
CSS variable + fill
:root { --c: #985ed0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #985ed0; background-color: #985ed0; bg-[#985ed0]