#FAF5FF color
The swatch above shows #FAF5FF 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.
#FAF5FF is a very light, vivid violet, closest to the CSS named color ghostwhite (#F8F8FF).
It is also a Tailwind CSS default: purple-50. That means you can write bg-purple-50 or text-purple-50 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #FAF5FF |
| RGB | rgb(250, 245, 255) |
| HSL | hsl(270, 100%, 98%) |
| CMYK | cmyk(2%, 4%, 0%, 0%) |
| Decimal | 16446975 |
| CSS | color: #FAF5FF; |
| Android | 0xFFFAF5FF |
| Swift | UIColor(red: 0.980, green: 0.961, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #FAF5FF | 1.07:1 — AA fail · AA large fail · AAA fail |
| Black text on #FAF5FF | 19.57: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 #FAF5FF
Each swatch keeps the hue and saturation of #FAF5FF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FAF5FF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FAF5FF in code
/* CSS */
.element { color: #FAF5FF; background-color: #FAF5FF; }
.element { color: rgb(250 245 255); }
.element { color: hsl(270 100% 98%); }
/* Tailwind */
<div class="bg-purple-50 text-black">
/* SCSS variable */
$brand: #FAF5FF;
Frequently asked questions
What color is #FAF5FF?
#FAF5FF is a very light, vivid violet. Its hue sits at 270° on the color wheel, with 100% saturation and 98% lightness.
What is #FAF5FF in RGB?
#FAF5FF converts to rgb(250, 245, 255) — 250 red, 245 green and 255 blue.
What is #FAF5FF in CMYK?
Approximately cmyk(2%, 4%, 0%, 0%). 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 #FAF5FF be white or black?
Black gives the better contrast ratio (19.57:1 versus 1.07:1).
What is the complementary color of #FAF5FF?
#FAFFF5 — the hue directly opposite #FAF5FF on the color wheel.