#f962fb
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 | #f962fb | |
| RGB | rgb(249 98 251) | |
| HSL | hsl(299.22 95.03% 68.43%) | |
| OKLCH | oklch(0.74 0.25 327.21) | |
| CMYK | cmyk(0.8% 60.96% 0% 1.57%) | |
| Android | #fff962fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.16: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="#f962fb"
Gradient stop
<stop stop-color="#f962fb"/>
CSS variable + fill
:root { --c: #f962fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f962fb; background-color: #f962fb; bg-[#f962fb]