#8C8BB5 color
The hex color #8C8BB5 is a light, grayish blue.
In the RGB color model it is made of 54.9% red, 54.5% green and 71% blue (140, 139, 181).
Its hue angle is 241°, with 22% saturation and 63% lightness. For print, the CMYK equivalent is 23% cyan, 23% magenta, 0% yellow and 29% black.
The closest named color is Magic Carpet (#9488BE), a difference of 3.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.48:1).
#8C8BB5 color codes
| HEX | #8C8BB5 | |
|---|---|---|
| RGB | rgb(140, 139, 181) | |
| RGB percent | rgb(54.9%, 54.5%, 71%) | |
| HSL | hsl(241, 22%, 63%) | |
| HSV / HSB | hsv(241, 23%, 71%) | |
| CMYK | cmyk(23%, 23%, 0%, 29%) | |
| CIE LAB | lab(59.32, 9.56, -21.82) | |
| CIE LCH | lch(59.32, 23.82, 293.65) | |
| CIE XYZ | xyz(28.386, 27.376, 47.496) | |
| Decimal | 9210805 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C8BB5, 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 #8C8BB5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.48:1 | Pass | Fail | Pass |
| Sample text | 3.24:1 | Fail | Fail | Pass |
| #8C8BB5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.48: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 #8C8BB5 looks to people with the most common types of color vision deficiency.
#8090b7Protanopia
no red cones#7f8eb4Deuteranopia
no green cones#839299Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #8c8bb5; }
.text { color: #8c8bb5; }
.border { border: 2px solid #8c8bb5; }
.transparent { background-color: rgb(140 139 181 / 50%); }
.gradient { background: linear-gradient(to right, #8c8bb5, #a18bb5); }
Similar colors
#9488beMagic Carpet#7f8cb8Galactic Gossamer#8e97c7Easter Egg#a090b8Wizard’s Brew#867ba9Aster#9c87c1Petrified Purple#8c92acCool Gray#a893c1Enchanted Lilac
Questions
- What color is #8C8BB5?
- #8C8BB5 is a light, grayish blue, closest to the named color Magic Carpet. It belongs to the blue family of colors.
- What is the RGB value of #8C8BB5?
- The RGB value is 140, 139, 181: 140 red, 139 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #8C8BB5?
- The complementary color is #B4B58B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C8BB5?
- Black text. Black text has a contrast ratio of 6.48:1 and white text 3.24:1. WCAG asks for at least 4.5:1 for normal text.