#f284fe
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 | #f284fe | |
| RGB | rgb(242 132 254) | |
| HSL | hsl(294.1 98.39% 75.69%) | |
| OKLCH | oklch(0.78 0.2 323.53) | |
| CMYK | cmyk(4.72% 48.03% 0% 0.39%) | |
| Android | #fff284fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.50: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="#f284fe"
Gradient stop
<stop stop-color="#f284fe"/>
CSS variable + fill
:root { --c: #f284fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f284fe; background-color: #f284fe; bg-[#f284fe]