#8F8CB8 color
The hex color #8F8CB8 is a light, grayish blue.
In the RGB color model it is made of 56.1% red, 54.9% green and 72.2% blue (143, 140, 184).
Its hue angle is 244°, with 24% saturation and 64% lightness. For print, the CMYK equivalent is 22% cyan, 24% magenta, 0% yellow and 28% black.
The closest named color is Magic Carpet (#9488BE), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.61:1).
#8F8CB8 color codes
| HEX | #8F8CB8 | |
|---|---|---|
| RGB | rgb(143, 140, 184) | |
| RGB percent | rgb(56.1%, 54.9%, 72.2%) | |
| HSL | hsl(244, 24%, 64%) | |
| HSV / HSB | hsv(244, 24%, 72%) | |
| CMYK | cmyk(22%, 24%, 0%, 28%) | |
| CIE LAB | lab(59.94, 10.65, -22.55) | |
| CIE LCH | lch(59.94, 24.94, 295.28) | |
| CIE XYZ | xyz(29.355, 28.056, 49.207) | |
| Decimal | 9407672 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8F8CB8, 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 #8F8CB8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.61:1 | Pass | Fail | Pass |
| Sample text | 3.18:1 | Fail | Fail | Pass |
| #8F8CB8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.61: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 #8F8CB8 looks to people with the most common types of color vision deficiency.
#8191baProtanopia
no red cones#808fb7Deuteranopia
no green cones#86939bTritanopia
no blue cones#909090Achromatopsia
no color vision
CSS examples
.background { background-color: #8f8cb8; }
.text { color: #8f8cb8; }
.border { border: 2px solid #8f8cb8; }
.transparent { background-color: rgb(143 140 184 / 50%); }
.gradient { background: linear-gradient(to right, #8f8cb8, #a58cb8); }
Similar colors
#9488beMagic Carpet#a090b8Wizard’s Brew#8e97c7Easter Egg#9c87c1Petrified Purple#7f8cb8Galactic Gossamer#867ba9Aster#a893c1Enchanted Lilac#8c92acCool Gray
Questions
- What color is #8F8CB8?
- #8F8CB8 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 #8F8CB8?
- The RGB value is 143, 140, 184: 143 red, 140 green and 184 blue on a 0 to 255 scale.
- What is the complementary color of #8F8CB8?
- The complementary color is #B5B88C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8F8CB8?
- Black text. Black text has a contrast ratio of 6.61:1 and white text 3.18:1. WCAG asks for at least 4.5:1 for normal text.