#997fdf
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 | #997fdf | |
| RGB | rgb(153 127 223) | |
| HSL | hsl(256.25 60% 68.63%) | |
| OKLCH | oklch(0.66 0.14 294.72) | |
| CMYK | cmyk(31.39% 43.05% 0% 12.55%) | |
| Android | #ff997fdf |
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.45: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="#997fdf"
Gradient stop
<stop stop-color="#997fdf"/>
CSS variable + fill
:root { --c: #997fdf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #997fdf; background-color: #997fdf; bg-[#997fdf]