#fa87fd
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 | #fa87fd | |
| RGB | rgb(250 135 253) | |
| HSL | hsl(298.47 96.72% 76.08%) | |
| OKLCH | oklch(0.79 0.2 326.32) | |
| CMYK | cmyk(1.19% 46.64% 0% 0.78%) | |
| Android | #fffa87fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.11:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.94: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="#fa87fd"
Gradient stop
<stop stop-color="#fa87fd"/>
CSS variable + fill
:root { --c: #fa87fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fa87fd; background-color: #fa87fd; bg-[#fa87fd]