#f09fff
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 | #f09fff | |
| RGB | rgb(240 159 255) | |
| HSL | hsl(290.63 100% 81.18%) | |
| OKLCH | oklch(0.81 0.16 321.16) | |
| CMYK | cmyk(5.88% 37.65% 0% 0%) | |
| Android | #fff09fff |
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.10: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="#f09fff"
Gradient stop
<stop stop-color="#f09fff"/>
CSS variable + fill
:root { --c: #f09fff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f09fff; background-color: #f09fff; bg-[#f09fff]