#B271AB color

#B271AB rgb(178, 113, 171)
Shades of purple

The hex color #B271AB is a desaturated magenta.

In the RGB color model it is made of 69.8% red, 44.3% green and 67.1% blue (178, 113, 171).

Its hue angle is 306°, with 30% saturation and 57% lightness. For print, the CMYK equivalent is 0% cyan, 37% magenta, 4% yellow and 30% black.

The closest named color is Berries Galore (#AB7CB4), a difference of 4.1 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.84:1).

#B271AB color codes

HEX#B271AB
RGBrgb(178, 113, 171)
RGB percentrgb(69.8%, 44.3%, 67.1%)
HSLhsl(306, 30%, 57%)
HSV / HSBhsv(306, 37%, 70%)
CMYKcmyk(0%, 37%, 4%, 30%)
CIE LABlab(56.3, 34.78, -20.38)
CIE LCHlch(56.3, 40.31, 329.63)
CIE XYZxyz(31.615, 24.217, 41.529)
Decimal11694507
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #B271AB, 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 #B271ABRatioAAAAAAA large
Sample text5.84:1PassFailPass
Sample text3.59:1FailFailPass
#B271AB as text onRatioAAAAAAA large
Sample text3.59:1FailFailPass
Sample text5.84:1PassFailPass

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 #B271AB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #b271ab; }
.text { color: #b271ab; }
.border { border: 2px solid #b271ab; }
.transparent { background-color: rgb(178 113 171 / 50%); }
.gradient { background: linear-gradient(to right, #b271ab, #b2718b); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #B271AB?
#B271AB is a desaturated magenta, closest to the named color Berries Galore. It belongs to the purple family of colors.
What is the RGB value of #B271AB?
The RGB value is 178, 113, 171: 178 red, 113 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #B271AB?
The complementary color is #71B278, found by rotating the hue 180° on the color wheel.
Is black or white text better on #B271AB?
Black text. Black text has a contrast ratio of 5.84:1 and white text 3.59:1. WCAG asks for at least 4.5:1 for normal text.