#f9bfef
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 | #f9bfef | |
| RGB | rgb(249 191 239) | |
| HSL | hsl(310.34 82.86% 86.27%) | |
| OKLCH | oklch(0.87 0.09 332.38) | |
| CMYK | cmyk(0% 23.29% 4.02% 2.35%) | |
| Android | #fff9bfef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.72: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="#f9bfef"
Gradient stop
<stop stop-color="#f9bfef"/>
CSS variable + fill
:root { --c: #f9bfef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f9bfef; background-color: #f9bfef; bg-[#f9bfef]