#B157CB color

#B157CB rgb(177, 87, 203)
Shades of purple

The hex color #B157CB is a moderate magenta.

In the RGB color model it is made of 69.4% red, 34.1% green and 79.6% blue (177, 87, 203).

Its hue angle is 287°, with 53% saturation and 57% lightness. For print, the CMYK equivalent is 13% cyan, 57% magenta, 0% yellow and 20% black.

The closest named color is Medium Orchid (#BA55D3), a difference of 1.8 ΔE, which is barely visible.

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

#B157CB color codes

HEX#B157CB
RGBrgb(177, 87, 203)
RGB percentrgb(69.4%, 34.1%, 79.6%)
HSLhsl(287, 53%, 57%)
HSV / HSBhsv(287, 57%, 80%)
CMYKcmyk(13%, 57%, 0%, 20%)
CIE LABlab(52.37, 54.28, -44.93)
CIE LCHlch(52.37, 70.46, 320.38)
CIE XYZxyz(32.318, 20.477, 58.738)
Decimal11622347
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #B157CB, 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 #B157CBRatioAAAAAAA large
Sample text5.1:1PassFailPass
Sample text4.12:1FailFailPass
#B157CB as text onRatioAAAAAAA large
Sample text4.12:1FailFailPass
Sample text5.1: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 #B157CB looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #b157cb; }
.text { color: #b157cb; }
.border { border: 2px solid #b157cb; }
.transparent { background-color: rgb(177 87 203 / 50%); }
.gradient { background: linear-gradient(to right, #b157cb, #cb57ab); }
Background
Text color
Border

Similar colors

Questions

What color is #B157CB?
#B157CB is a moderate magenta, closest to the named color Medium Orchid. It belongs to the purple family of colors.
What is the RGB value of #B157CB?
The RGB value is 177, 87, 203: 177 red, 87 green and 203 blue on a 0 to 255 scale.
What is the complementary color of #B157CB?
The complementary color is #71CB57, found by rotating the hue 180° on the color wheel.
Is black or white text better on #B157CB?
Black text. Black text has a contrast ratio of 5.1:1 and white text 4.12:1. WCAG asks for at least 4.5:1 for normal text.