#B21DC2 color

#B21DC2 rgb(178, 29, 194)
Shades of purple

The hex color #B21DC2 is a moderate magenta.

In the RGB color model it is made of 69.8% red, 11.4% green and 76.1% blue (178, 29, 194).

Its hue angle is 294°, with 74% saturation and 44% lightness. For print, the CMYK equivalent is 8% cyan, 85% magenta, 0% yellow and 24% black.

The closest named color is Magentleman (#AA22BB), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 5.46:1).

#B21DC2 color codes

HEX#B21DC2
RGBrgb(178, 29, 194)
RGB percentrgb(69.8%, 11.4%, 76.1%)
HSLhsl(294, 74%, 44%)
HSV / HSBhsv(294, 85%, 76%)
CMYKcmyk(8%, 85%, 0%, 24%)
CIE LABlab(44.58, 73.7, -52.16)
CIE LCHlch(44.58, 90.29, 324.71)
CIE XYZxyz(28.536, 14.241, 52.274)
Decimal11673026
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #B21DC2, 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 #B21DC2RatioAAAAAAA large
Sample text3.85:1FailFailPass
Sample text5.46:1PassFailPass
#B21DC2 as text onRatioAAAAAAA large
Sample text5.46:1PassFailPass
Sample text3.85:1FailFailPass

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

CSS examples

.background { background-color: #b21dc2; }
.text { color: #b21dc2; }
.border { border: 2px solid #b21dc2; }
.transparent { background-color: rgb(178 29 194 / 50%); }
.gradient { background: linear-gradient(to right, #b21dc2, #c21d7f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Orchid.

Questions

What color is #B21DC2?
#B21DC2 is a moderate magenta, closest to the named color Magentleman. It belongs to the purple family of colors.
What is the RGB value of #B21DC2?
The RGB value is 178, 29, 194: 178 red, 29 green and 194 blue on a 0 to 255 scale.
What is the complementary color of #B21DC2?
The complementary color is #2DC21D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #B21DC2?
White text. Black text has a contrast ratio of 3.85:1 and white text 5.46:1. WCAG asks for at least 4.5:1 for normal text.