#948CB2 color
The hex color #948CB2 is a light, grayish violet.
In the RGB color model it is made of 58% red, 54.9% green and 69.8% blue (148, 140, 178).
Its hue angle is 253°, with 20% saturation and 62% 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.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.65:1).
#948CB2 color codes
| HEX | #948CB2 | |
|---|---|---|
| RGB | rgb(148, 140, 178) | |
| RGB percent | rgb(58%, 54.9%, 69.8%) | |
| HSL | hsl(253, 20%, 62%) | |
| HSV / HSB | hsv(253, 21%, 70%) | |
| CMYK | cmyk(17%, 21%, 0%, 30%) | |
| CIE LAB | lab(60.13, 10.87, -18.82) | |
| CIE LCH | lch(60.13, 21.73, 300) | |
| CIE XYZ | xyz(29.625, 28.266, 46.006) | |
| Decimal | 9735346 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #948CB2, 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 #948CB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.65:1 | Pass | Fail | Pass |
| Sample text | 3.16:1 | Fail | Fail | Pass |
| #948CB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.16:1 | Fail | Fail | Pass |
| Sample text | 6.65: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 #948CB2 looks to people with the most common types of color vision deficiency.
#8491b4Protanopia
no red cones#8590b1Deuteranopia
no green cones#8e9299Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #948cb2; }
.text { color: #948cb2; }
.border { border: 2px solid #948cb2; }
.transparent { background-color: rgb(148 140 178 / 50%); }
.gradient { background: linear-gradient(to right, #948cb2, #a78cb2); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#867ba9Aster#95859cHatoba Pigeon#a99fcfImperial Lilac#8c92acCool Gray
Questions
- What color is #948CB2?
- #948CB2 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 #948CB2?
- The RGB value is 148, 140, 178: 148 red, 140 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #948CB2?
- The complementary color is #AAB28C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #948CB2?
- Black text. Black text has a contrast ratio of 6.65:1 and white text 3.16:1. WCAG asks for at least 4.5:1 for normal text.