#9fa8fe
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 | #9fa8fe | |
| RGB | rgb(159 168 254) | |
| HSL | hsl(234.32 97.94% 80.98%) | |
| OKLCH | oklch(0.76 0.12 278.44) | |
| CMYK | cmyk(37.4% 33.86% 0% 0.39%) | |
| Android | #ff9fa8fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.50: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="#9fa8fe"
Gradient stop
<stop stop-color="#9fa8fe"/>
CSS variable + fill
:root { --c: #9fa8fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9fa8fe; background-color: #9fa8fe; bg-[#9fa8fe]