#f09ffe
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 | #f09ffe | |
| RGB | rgb(240 159 254) | |
| HSL | hsl(291.16 97.94% 80.98%) | |
| OKLCH | oklch(0.81 0.15 321.5) | |
| CMYK | cmyk(5.51% 37.4% 0% 0.39%) | |
| Android | #fff09ffe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.89:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.09: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="#f09ffe"
Gradient stop
<stop stop-color="#f09ffe"/>
CSS variable + fill
:root { --c: #f09ffe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f09ffe; background-color: #f09ffe; bg-[#f09ffe]