#B271BC color
The hex color #B271BC is a desaturated magenta.
In the RGB color model it is made of 69.8% red, 44.3% green and 73.7% blue (178, 113, 188).
Its hue angle is 292°, with 36% saturation and 59% lightness. For print, the CMYK equivalent is 5% cyan, 40% magenta, 0% yellow and 26% black.
The closest named color is Lavendless (#B86FC2), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.98:1).
#B271BC color codes
| HEX | #B271BC | |
|---|---|---|
| RGB | rgb(178, 113, 188) | |
| RGB percent | rgb(69.8%, 44.3%, 73.7%) | |
| HSL | hsl(292, 36%, 59%) | |
| HSV / HSB | hsv(292, 40%, 74%) | |
| CMYK | cmyk(5%, 40%, 0%, 26%) | |
| CIE LAB | lab(56.98, 38.04, -29.1) | |
| CIE LCH | lch(56.98, 47.89, 322.59) | |
| CIE XYZ | xyz(33.341, 24.907, 50.618) | |
| Decimal | 11694524 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B271BC, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #B271BC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.98:1 | Pass | Fail | Pass |
| Sample text | 3.51:1 | Fail | Fail | Pass |
| #B271BC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.51:1 | Fail | Fail | Pass |
| Sample text | 5.98:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #B271BC looks to people with the most common types of color vision deficiency.
#6884bfProtanopia
no red cones#798bbaDeuteranopia
no green cones#b47a8eTritanopia
no blue cones#898989Achromatopsia
no color vision
CSS examples
.background { background-color: #b271bc; }
.text { color: #b271bc; }
.border { border: 2px solid #b271bc; }
.transparent { background-color: rgb(178 113 188 / 50%); }
.gradient { background: linear-gradient(to right, #b271bc, #bc71a1); }
Similar colors
#b86fc2Lavendless#ab7cb4Berries Galore#a264baPrickly Purple#a97fb1Heart Potion#946dadCrown Jewels#966ebdViola#967bb6Lavender Purple#da70d6Orchid
Questions
- What color is #B271BC?
- #B271BC is a desaturated magenta, closest to the named color Lavendless. It belongs to the purple family of colors.
- What is the RGB value of #B271BC?
- The RGB value is 178, 113, 188: 178 red, 113 green and 188 blue on a 0 to 255 scale.
- What is the complementary color of #B271BC?
- The complementary color is #7BBC71, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B271BC?
- Black text. Black text has a contrast ratio of 5.98:1 and white text 3.51:1. WCAG asks for at least 4.5:1 for normal text.