#B9A6F2 color
#B9A6F2 is a very light, vivid violet, closest to the CSS named color plum (#DDA0DD).
Color values
| HEX | #B9A6F2 |
| RGB | rgb(185, 166, 242) |
| HSL | hsl(255, 75%, 80%) |
| CMYK | cmyk(24%, 31%, 0%, 5%) |
| Decimal | 12166898 |
| CSS | color: #B9A6F2; |
| Android | 0xFFB9A6F2 |
| Swift | UIColor(red: 0.725, green: 0.651, blue: 0.949, alpha: 1) |
Accessibility and contrast
| White text on #B9A6F2 | 2.14:1 — AA fail · AA large fail · AAA fail |
| Black text on #B9A6F2 | 9.80: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 #B9A6F2
Each swatch keeps the hue and saturation of #B9A6F2 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #B9A6F2
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #B9A6F2 in code
/* CSS */
.element { color: #B9A6F2; background-color: #B9A6F2; }
.element { color: rgb(185 166 242); }
.element { color: hsl(255 75% 80%); }
/* Tailwind arbitrary value */
<div class="bg-[#B9A6F2] text-black">
/* SCSS variable */
$brand: #B9A6F2;
Frequently asked questions
What color is #B9A6F2?
#B9A6F2 is a very light, vivid violet. Its hue sits at 255° on the color wheel, with 75% saturation and 80% lightness.
What is #B9A6F2 in RGB?
#B9A6F2 converts to rgb(185, 166, 242) — 185 red, 166 green and 242 blue.
What is #B9A6F2 in CMYK?
Approximately cmyk(24%, 31%, 0%, 5%). 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 #B9A6F2 be white or black?
Black gives the better contrast ratio (9.80:1 versus 2.14:1).
What is the complementary color of #B9A6F2?
#DFF2A6 — the hue directly opposite #B9A6F2 on the color wheel.