#8787D8 color
The hex color #8787D8 is a light, moderate blue.
In the RGB color model it is made of 52.9% red, 52.9% green and 84.7% blue (135, 135, 216).
Its hue angle is 240°, with 51% saturation and 69% lightness. For print, the CMYK equivalent is 38% cyan, 38% magenta, 0% yellow and 15% black.
The closest named color is Perrywinkle (#8F8CE7), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.49:1).
#8787D8 color codes
| HEX | #8787D8 | |
|---|---|---|
| RGB | rgb(135, 135, 216) | |
| RGB percent | rgb(52.9%, 52.9%, 84.7%) | |
| HSL | hsl(240, 51%, 69%) | |
| HSV / HSB | hsv(240, 38%, 85%) | |
| CMYK | cmyk(38%, 38%, 0%, 15%) | |
| CIE LAB | lab(59.38, 19.45, -41.51) | |
| CIE LCH | lch(59.38, 45.84, 295.11) | |
| CIE XYZ | xyz(31.047, 27.436, 68.612) | |
| Decimal | 8882136 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8787D8, 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 #8787D8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.49:1 | Pass | Fail | Pass |
| Sample text | 3.24:1 | Fail | Fail | Pass |
| #8787D8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.49: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 #8787D8 looks to people with the most common types of color vision deficiency.
#6c92dbProtanopia
no red cones#698cd6Deuteranopia
no green cones#7097a5Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #8787d8; }
.text { color: #8787d8; }
.border { border: 2px solid #8787d8; }
.transparent { background-color: rgb(135 135 216 / 50%); }
.gradient { background: linear-gradient(to right, #8787d8, #b087d8); }
Similar colors
#8f8ce7Perrywinkle#6d83bbOrbital#8e97c7Easter Egg#9488beMagic Carpet#9ba0efCold Lips#8fa0d5Azureno#6677bbFlood#9370dbMedium Purple
Closest common color name: Periwinkle Purple.
Questions
- What color is #8787D8?
- #8787D8 is a light, moderate blue, closest to the named color Perrywinkle. It belongs to the blue family of colors.
- What is the RGB value of #8787D8?
- The RGB value is 135, 135, 216: 135 red, 135 green and 216 blue on a 0 to 255 scale.
- What is the complementary color of #8787D8?
- The complementary color is #D8D887, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8787D8?
- Black text. Black text has a contrast ratio of 6.49:1 and white text 3.24:1. WCAG asks for at least 4.5:1 for normal text.