#998CB7 color
The hex color #998CB7 is a light, grayish violet.
In the RGB color model it is made of 60% red, 54.9% green and 71.8% blue (153, 140, 183).
Its hue angle is 258°, with 23% saturation and 63% lightness. For print, the CMYK equivalent is 16% cyan, 23% magenta, 0% yellow and 28% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.79:1).
#998CB7 color codes
| HEX | #998CB7 | |
|---|---|---|
| RGB | rgb(153, 140, 183) | |
| RGB percent | rgb(60%, 54.9%, 71.8%) | |
| HSL | hsl(258, 23%, 63%) | |
| HSV / HSB | hsv(258, 23%, 72%) | |
| CMYK | cmyk(16%, 23%, 0%, 28%) | |
| CIE LAB | lab(60.74, 13.64, -20.69) | |
| CIE LCH | lch(60.74, 24.79, 303.4) | |
| CIE XYZ | xyz(31.06, 28.947, 48.742) | |
| Decimal | 10063031 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #998CB7, 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 #998CB7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.79:1 | Pass | Fail | Pass |
| Sample text | 3.09:1 | Fail | Fail | Pass |
| #998CB7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.09:1 | Fail | Fail | Pass |
| Sample text | 6.79: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 #998CB7 looks to people with the most common types of color vision deficiency.
#8393b9Protanopia
no red cones#8592b6Deuteranopia
no green cones#94929bTritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #998cb7; }
.text { color: #998cb7; }
.border { border: 2px solid #998cb7; }
.transparent { background-color: rgb(153 140 183 / 50%); }
.gradient { background: linear-gradient(to right, #998cb7, #af8cb7); }
Similar colors
#a090b8Wizard’s Brew#9488beMagic Carpet#a893c1Enchanted Lilac#9c87c1Petrified Purple#b090c7Fleur-De-Lis#a99fcfImperial Lilac#867ba9Aster#967bb6Lavender Purple
Questions
- What color is #998CB7?
- #998CB7 is a light, grayish violet, closest to the named color Wizard’s Brew. It belongs to the purple family of colors.
- What is the RGB value of #998CB7?
- The RGB value is 153, 140, 183: 153 red, 140 green and 183 blue on a 0 to 255 scale.
- What is the complementary color of #998CB7?
- The complementary color is #AAB78C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #998CB7?
- Black text. Black text has a contrast ratio of 6.79:1 and white text 3.09:1. WCAG asks for at least 4.5:1 for normal text.