#B157CB color
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 | |
|---|---|---|
| RGB | rgb(177, 87, 203) | |
| RGB percent | rgb(69.4%, 34.1%, 79.6%) | |
| HSL | hsl(287, 53%, 57%) | |
| HSV / HSB | hsv(287, 57%, 80%) | |
| CMYK | cmyk(13%, 57%, 0%, 20%) | |
| CIE LAB | lab(52.37, 54.28, -44.93) | |
| CIE LCH | lch(52.37, 70.46, 320.38) | |
| CIE XYZ | xyz(32.318, 20.477, 58.738) | |
| Decimal | 11622347 | |
| Short hex | None (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 #B157CB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.1:1 | Pass | Fail | Pass |
| Sample text | 4.12:1 | Fail | Fail | Pass |
| #B157CB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.12:1 | Fail | Fail | Pass |
| Sample text | 5.1: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 #B157CB looks to people with the most common types of color vision deficiency.
#3c77cfProtanopia
no red cones#5c80c8Deuteranopia
no green cones#b16989Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
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); }
Similar colors
#ba55d3Medium Orchid#bb55ccLove Priestess#a264baPrickly Purple#9d61d4Legendary Lavender#aa44ddMagenta Affair#9f4cb7Fuchsia Pheromone#a669dbViolet Voltage#9966ccAmethyst
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.