#845F8B color
The hex color #845F8B is a grayish magenta.
In the RGB color model it is made of 51.8% red, 37.3% green and 54.5% blue (132, 95, 139).
Its hue angle is 290°, with 19% saturation and 46% lightness. For print, the CMYK equivalent is 5% cyan, 32% magenta, 0% yellow and 45% black.
The closest named color is Muted Purple (#805B87), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.26:1).
#845F8B color codes
| HEX | #845F8B | |
|---|---|---|
| RGB | rgb(132, 95, 139) | |
| RGB percent | rgb(51.8%, 37.3%, 54.5%) | |
| HSL | hsl(290, 19%, 46%) | |
| HSV / HSB | hsv(290, 32%, 55%) | |
| CMYK | cmyk(5%, 32%, 0%, 45%) | |
| CIE LAB | lab(45.57, 23.15, -18.47) | |
| CIE LCH | lch(45.57, 29.62, 321.42) | |
| CIE XYZ | xyz(18.268, 14.955, 26.345) | |
| Decimal | 8675211 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #845F8B, 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 #845F8B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.99:1 | Fail | Fail | Pass |
| Sample text | 5.26:1 | Pass | Fail | Pass |
| #845F8B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.26:1 | Pass | Fail | Pass |
| Sample text | 3.99: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 #845F8B looks to people with the most common types of color vision deficiency.
#5a698dProtanopia
no red cones#636d8aDeuteranopia
no green cones#85646fTritanopia
no blue cones#6c6c6cAchromatopsia
no color vision
CSS examples
.background { background-color: #845f8b; }
.text { color: #845f8b; }
.border { border: 2px solid #845f8b; }
.transparent { background-color: rgb(132 95 139 / 50%); }
.gradient { background: linear-gradient(to right, #845f8b, #8b5f7c); }
Similar colors
#805b87Muted Purple#886688Sunshone Plum#78587dDr Who#905284Grape Candy#75528bNinja Princess#885577Plum Highness#9d5a8fBermuda Onion#7b6c8eNymph’s Delight
Closest common color name: Plum.
Questions
- What color is #845F8B?
- #845F8B is a grayish magenta, closest to the named color Muted Purple. It belongs to the purple family of colors.
- What is the RGB value of #845F8B?
- The RGB value is 132, 95, 139: 132 red, 95 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #845F8B?
- The complementary color is #668B5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #845F8B?
- White text. Black text has a contrast ratio of 3.99:1 and white text 5.26:1. WCAG asks for at least 4.5:1 for normal text.