#938EC8 color
The hex color #938EC8 is a light, desaturated blue.
In the RGB color model it is made of 57.6% red, 55.7% green and 78.4% blue (147, 142, 200).
Its hue angle is 245°, with 35% saturation and 67% lightness. For print, the CMYK equivalent is 27% cyan, 29% magenta, 0% yellow and 22% black.
The closest named color is Magic Carpet (#9488BE), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.94:1).
#938EC8 color codes
| HEX | #938EC8 | |
|---|---|---|
| RGB | rgb(147, 142, 200) | |
| RGB percent | rgb(57.6%, 55.7%, 78.4%) | |
| HSL | hsl(245, 35%, 67%) | |
| HSV / HSB | hsv(245, 29%, 78%) | |
| CMYK | cmyk(27%, 29%, 0%, 22%) | |
| CIE LAB | lab(61.41, 14.63, -29.29) | |
| CIE LCH | lch(61.41, 32.74, 296.55) | |
| CIE XYZ | xyz(32.128, 29.719, 58.676) | |
| Decimal | 9670344 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #938EC8, 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 #938EC8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.94:1 | Pass | Fail | Pass |
| Sample text | 3.02:1 | Fail | Fail | Pass |
| #938EC8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.02:1 | Fail | Fail | Pass |
| Sample text | 6.94: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 #938EC8 looks to people with the most common types of color vision deficiency.
#7f96caProtanopia
no red cones#7e93c6Deuteranopia
no green cones#8798a3Tritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #938ec8; }
.text { color: #938ec8; }
.border { border: 2px solid #938ec8; }
.transparent { background-color: rgb(147 142 200 / 50%); }
.gradient { background: linear-gradient(to right, #938ec8, #b08ec8); }
Similar colors
#9488beMagic Carpet#8e97c7Easter Egg#9c87c1Petrified Purple#7f8cb8Galactic Gossamer#a99fcfImperial Lilac#a090b8Wizard’s Brew#a893c1Enchanted Lilac#b19cd9Violet Velvet
Closest common color name: Lavender Purple.
Questions
- What color is #938EC8?
- #938EC8 is a light, desaturated blue, closest to the named color Magic Carpet. It belongs to the blue family of colors.
- What is the RGB value of #938EC8?
- The RGB value is 147, 142, 200: 147 red, 142 green and 200 blue on a 0 to 255 scale.
- What is the complementary color of #938EC8?
- The complementary color is #C3C88E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #938EC8?
- Black text. Black text has a contrast ratio of 6.94:1 and white text 3.02:1. WCAG asks for at least 4.5:1 for normal text.