#948DB2 color
The hex color #948DB2 is a light, grayish violet.
In the RGB color model it is made of 58% red, 55.3% green and 69.8% blue (148, 141, 178).
Its hue angle is 251°, with 19% saturation and 63% lightness. For print, the CMYK equivalent is 17% cyan, 21% magenta, 0% yellow and 30% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.71:1).
#948DB2 color codes
| HEX | #948DB2 | |
|---|---|---|
| RGB | rgb(148, 141, 178) | |
| RGB percent | rgb(58%, 55.3%, 69.8%) | |
| HSL | hsl(251, 19%, 63%) | |
| HSV / HSB | hsv(251, 21%, 70%) | |
| CMYK | cmyk(17%, 21%, 0%, 30%) | |
| CIE LAB | lab(60.39, 10.29, -18.42) | |
| CIE LCH | lch(60.39, 21.1, 299.2) | |
| CIE XYZ | xyz(29.772, 28.56, 46.055) | |
| Decimal | 9735602 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #948DB2, 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 #948DB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.71:1 | Pass | Fail | Pass |
| Sample text | 3.13:1 | Fail | Fail | Pass |
| #948DB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.13:1 | Fail | Fail | Pass |
| Sample text | 6.71: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 #948DB2 looks to people with the most common types of color vision deficiency.
#8592b4Protanopia
no red cones#8691b1Deuteranopia
no green cones#8e939aTritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #948db2; }
.text { color: #948db2; }
.border { border: 2px solid #948db2; }
.transparent { background-color: rgb(148 141 178 / 50%); }
.gradient { background: linear-gradient(to right, #948db2, #a78db2); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#95859cHatoba Pigeon#867ba9Aster#8c92acCool Gray#a99fcfImperial Lilac
Questions
- What color is #948DB2?
- #948DB2 is a light, grayish violet, closest to the named color Wizard’s Brew. It belongs to the blue family of colors.
- What is the RGB value of #948DB2?
- The RGB value is 148, 141, 178: 148 red, 141 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #948DB2?
- The complementary color is #ABB28D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #948DB2?
- Black text. Black text has a contrast ratio of 6.71:1 and white text 3.13:1. WCAG asks for at least 4.5:1 for normal text.