#948AAB color
The hex color #948AAB is a grayish violet.
In the RGB color model it is made of 58% red, 54.1% green and 67.1% blue (148, 138, 171).
Its hue angle is 258°, with 16% saturation and 61% lightness. For print, the CMYK equivalent is 13% cyan, 19% magenta, 0% yellow and 33% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.48:1).
#948AAB color codes
| HEX | #948AAB | |
|---|---|---|
| RGB | rgb(148, 138, 171) | |
| RGB percent | rgb(58%, 54.1%, 67.1%) | |
| HSL | hsl(258, 16%, 61%) | |
| HSV / HSB | hsv(258, 19%, 67%) | |
| CMYK | cmyk(13%, 19%, 0%, 33%) | |
| CIE LAB | lab(59.35, 10.44, -16.01) | |
| CIE LCH | lch(59.35, 19.12, 303.11) | |
| CIE XYZ | xyz(28.65, 27.413, 42.302) | |
| Decimal | 9734827 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #948AAB, 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 #948AAB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.48:1 | Pass | Fail | Pass |
| Sample text | 3.24:1 | Fail | Fail | Pass |
| #948AAB 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 #948AAB looks to people with the most common types of color vision deficiency.
#848facProtanopia
no red cones#858faaDeuteranopia
no green cones#908f95Tritanopia
no blue cones#8f8f8fAchromatopsia
no color vision
CSS examples
.background { background-color: #948aab; }
.text { color: #948aab; }
.border { border: 2px solid #948aab; }
.transparent { background-color: rgb(148 138 171 / 50%); }
.gradient { background: linear-gradient(to right, #948aab, #a58aab); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#9488beMagic Carpet#a893c1Enchanted Lilac#867ba9Aster#967d96Amorous#8c92acCool Gray#948593Femme Fatale
Questions
- What color is #948AAB?
- #948AAB is a grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #948AAB?
- The RGB value is 148, 138, 171: 148 red, 138 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #948AAB?
- The complementary color is #A1AB8A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #948AAB?
- 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.