#F0ABFC color
The swatch above shows #F0ABFC with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#F0ABFC is a very light, vivid magenta, closest to the CSS named color plum (#DDA0DD).
It is also a Tailwind CSS default: fuchsia-300. That means you can write bg-fuchsia-300 or text-fuchsia-300 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #F0ABFC |
| RGB | rgb(240, 171, 252) |
| HSL | hsl(291, 93%, 83%) |
| CMYK | cmyk(5%, 32%, 0%, 1%) |
| Decimal | 15772668 |
| CSS | color: #F0ABFC; |
| Android | 0xFFF0ABFC |
| Swift | UIColor(red: 0.941, green: 0.671, blue: 0.988, alpha: 1) |
Accessibility and contrast
| White text on #F0ABFC | 1.76:1 — AA fail · AA large fail · AAA fail |
| Black text on #F0ABFC | 11.94:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #F0ABFC
Each swatch keeps the hue and saturation of #F0ABFC and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #F0ABFC
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #F0ABFC in code
/* CSS */
.element { color: #F0ABFC; background-color: #F0ABFC; }
.element { color: rgb(240 171 252); }
.element { color: hsl(291 93% 83%); }
/* Tailwind */
<div class="bg-fuchsia-300 text-black">
/* SCSS variable */
$brand: #F0ABFC;
Frequently asked questions
What color is #F0ABFC?
#F0ABFC is a very light, vivid magenta. Its hue sits at 291° on the color wheel, with 93% saturation and 83% lightness.
What is #F0ABFC in RGB?
#F0ABFC converts to rgb(240, 171, 252) — 240 red, 171 green and 252 blue.
What is #F0ABFC in CMYK?
Approximately cmyk(5%, 32%, 0%, 1%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #F0ABFC be white or black?
Black gives the better contrast ratio (11.94:1 versus 1.76:1).
What is the complementary color of #F0ABFC?
#B7FCAB — the hue directly opposite #F0ABFC on the color wheel.