#f0ecfd
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 | #f0ecfd | |
| RGB | rgb(240 236 253) | |
| HSL | hsl(254.12 80.95% 95.88%) | |
| OKLCH | oklch(0.95 0.02 296.73) | |
| CMYK | cmyk(5.14% 6.72% 0% 0.78%) | |
| Android | #fff0ecfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.15:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
18.12: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="#f0ecfd"
Gradient stop
<stop stop-color="#f0ecfd"/>
CSS variable + fill
:root { --c: #f0ecfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0ecfd; background-color: #f0ecfd; bg-[#f0ecfd]