#948EB5 color
The hex color #948EB5 is a light, grayish blue.
In the RGB color model it is made of 58% red, 55.7% green and 71% blue (148, 142, 181).
Its hue angle is 249°, with 21% saturation and 63% lightness. For print, the CMYK equivalent is 18% cyan, 22% magenta, 0% yellow and 29% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.8:1).
#948EB5 color codes
| HEX | #948EB5 | |
|---|---|---|
| RGB | rgb(148, 142, 181) | |
| RGB percent | rgb(58%, 55.7%, 71%) | |
| HSL | hsl(249, 21%, 63%) | |
| HSV / HSB | hsv(249, 22%, 71%) | |
| CMYK | cmyk(18%, 22%, 0%, 29%) | |
| CIE LAB | lab(60.76, 10.41, -19.56) | |
| CIE LCH | lch(60.76, 22.15, 298.02) | |
| CIE XYZ | xyz(30.224, 28.978, 47.708) | |
| Decimal | 9735861 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #948EB5, 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 #948EB5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.8:1 | Pass | Fail | Pass |
| Sample text | 3.09:1 | Fail | Fail | Pass |
| #948EB5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.09:1 | Fail | Fail | Pass |
| Sample text | 6.8: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 #948EB5 looks to people with the most common types of color vision deficiency.
#8593b7Protanopia
no red cones#8592b4Deuteranopia
no green cones#8e949bTritanopia
no blue cones#939393Achromatopsia
no color vision
CSS examples
.background { background-color: #948eb5; }
.text { color: #948eb5; }
.border { border: 2px solid #948eb5; }
.transparent { background-color: rgb(148 142 181 / 50%); }
.gradient { background: linear-gradient(to right, #948eb5, #a88eb5); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#8e97c7Easter Egg#a99fcfImperial Lilac#8c92acCool Gray#867ba9Aster
Questions
- What color is #948EB5?
- #948EB5 is a light, grayish blue, closest to the named color Wizard’s Brew. It belongs to the blue family of colors.
- What is the RGB value of #948EB5?
- The RGB value is 148, 142, 181: 148 red, 142 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #948EB5?
- The complementary color is #AFB58E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #948EB5?
- Black text. Black text has a contrast ratio of 6.8:1 and white text 3.09:1. WCAG asks for at least 4.5:1 for normal text.