#7857B2 color
The hex color #7857B2 is a desaturated violet.
In the RGB color model it is made of 47.1% red, 34.1% green and 69.8% blue (120, 87, 178).
Its hue angle is 262°, with 37% saturation and 52% lightness. For print, the CMYK equivalent is 33% cyan, 51% magenta, 0% yellow and 30% black.
The closest named color is Simply Purple (#715BB1), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.52:1).
#7857B2 color codes
| HEX | #7857B2 | |
|---|---|---|
| RGB | rgb(120, 87, 178) | |
| RGB percent | rgb(47.1%, 34.1%, 69.8%) | |
| HSL | hsl(262, 37%, 52%) | |
| HSV / HSB | hsv(262, 51%, 70%) | |
| CMYK | cmyk(33%, 51%, 0%, 30%) | |
| CIE LAB | lab(44.27, 33.54, -43.74) | |
| CIE LCH | lch(44.27, 55.12, 307.48) | |
| CIE XYZ | xyz(19.188, 14.024, 43.807) | |
| Decimal | 7886770 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7857B2, 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 #7857B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.8:1 | Fail | Fail | Pass |
| Sample text | 5.52:1 | Pass | Fail | Pass |
| #7857B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.52:1 | Pass | Fail | Pass |
| Sample text | 3.8:1 | Fail | 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 #7857B2 looks to people with the most common types of color vision deficiency.
#3769b5Protanopia
no red cones#3f68b0Deuteranopia
no green cones#6c687cTritanopia
no blue cones#696969Achromatopsia
no color vision
CSS examples
.background { background-color: #7857b2; }
.text { color: #7857b2; }
.border { border: 2px solid #7857b2; }
.transparent { background-color: rgb(120 87 178 / 50%); }
.gradient { background: linear-gradient(to right, #7857b2, #a557b2); }
Similar colors
#715bb1Simply Purple#7851a9Royal Purple#7851a9Royal Lavender#6f58a6Prophet Violet#654ea3Ultrapurple Merge#6f5698Passion Flower#6a5acdSlate Blue#8469bcLavish Spending
Questions
- What color is #7857B2?
- #7857B2 is a desaturated violet, closest to the named color Simply Purple. It belongs to the purple family of colors.
- What is the RGB value of #7857B2?
- The RGB value is 120, 87, 178: 120 red, 87 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #7857B2?
- The complementary color is #91B257, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7857B2?
- White text. Black text has a contrast ratio of 3.8:1 and white text 5.52:1. WCAG asks for at least 4.5:1 for normal text.