#8A5F7B color
The hex color #8A5F7B is a grayish rose.
In the RGB color model it is made of 54.1% red, 37.3% green and 48.2% blue (138, 95, 123).
Its hue angle is 321°, with 18% saturation and 46% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 11% yellow and 46% black.
The closest named color is Indian Silk (#8A5773), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.25:1).
#8A5F7B color codes
| HEX | #8A5F7B | |
|---|---|---|
| RGB | rgb(138, 95, 123) | |
| RGB percent | rgb(54.1%, 37.3%, 48.2%) | |
| HSL | hsl(321, 18%, 46%) | |
| HSV / HSB | hsv(321, 31%, 54%) | |
| CMYK | cmyk(0%, 31%, 11%, 46%) | |
| CIE LAB | lab(45.66, 22.15, -8.65) | |
| CIE LCH | lch(45.66, 23.77, 338.66) | |
| CIE XYZ | xyz(18.149, 15.019, 20.678) | |
| Decimal | 9068411 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A5F7B, 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 #8A5F7B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4:1 | Fail | Fail | Pass |
| Sample text | 5.25:1 | Pass | Fail | Pass |
| #8A5F7B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.25:1 | Pass | Fail | Pass |
| Sample text | 4: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 #8A5F7B looks to people with the most common types of color vision deficiency.
#61687cProtanopia
no red cones#6b6f7aDeuteranopia
no green cones#8f6069Tritanopia
no blue cones#6c6c6cAchromatopsia
no color vision
CSS examples
.background { background-color: #8a5f7b; }
.text { color: #8a5f7b; }
.border { border: 2px solid #8a5f7b; }
.transparent { background-color: rgb(138 95 123 / 50%); }
.gradient { background: linear-gradient(to right, #8a5f7b, #8a5f65); }
Similar colors
#8a5773Indian Silk#885577Plum Highness#946985Fruit of Passion#886688Sunshone Plum#816575Opera#9d5783Feminism#78587dDr Who#7b5867Royal Fig
Closest common color name: Plum.
Questions
- What color is #8A5F7B?
- #8A5F7B is a grayish rose, closest to the named color Indian Silk. It belongs to the pink family of colors.
- What is the RGB value of #8A5F7B?
- The RGB value is 138, 95, 123: 138 red, 95 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #8A5F7B?
- The complementary color is #5F8A6E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A5F7B?
- White text. Black text has a contrast ratio of 4:1 and white text 5.25:1. WCAG asks for at least 4.5:1 for normal text.