#9D98AC color
The hex color #9D98AC is a light, grayish violet.
In the RGB color model it is made of 61.6% red, 59.6% green and 67.5% blue (157, 152, 172).
Its hue angle is 255°, with 11% saturation and 64% lightness. For print, the CMYK equivalent is 9% cyan, 12% magenta, 0% yellow and 33% black.
The closest named color is Machinery (#9999AA), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.52:1).
#9D98AC color codes
| HEX | #9D98AC | |
|---|---|---|
| RGB | rgb(157, 152, 172) | |
| RGB percent | rgb(61.6%, 59.6%, 67.5%) | |
| HSL | hsl(255, 11%, 64%) | |
| HSV / HSB | hsv(255, 12%, 67%) | |
| CMYK | cmyk(9%, 12%, 0%, 33%) | |
| CIE LAB | lab(63.84, 5.79, -9.76) | |
| CIE LCH | lch(63.84, 11.35, 300.66) | |
| CIE XYZ | xyz(32.578, 32.603, 43.598) | |
| Decimal | 10328236 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D98AC, 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 #9D98AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.52:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #9D98AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.52:1 | Pass | Pass | 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 #9D98AC looks to people with the most common types of color vision deficiency.
#949badProtanopia
no red cones#959aabDeuteranopia
no green cones#9b9b9eTritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #9d98ac; }
.text { color: #9d98ac; }
.border { border: 2px solid #9d98ac; }
.transparent { background-color: rgb(157 152 172 / 50%); }
.gradient { background: linear-gradient(to right, #9d98ac, #a798ac); }
Similar colors
#9999aaMachinery#9998a7Lavender Ash#9596a4Too Big to Whale#9698a3Dark Ages#8c92acCool Gray#9b959cLunar Light#979ba8Dusky Mood#8d95aaSilverfish
Questions
- What color is #9D98AC?
- #9D98AC is a light, grayish violet, closest to the named color Machinery. It belongs to the gray family of colors.
- What is the RGB value of #9D98AC?
- The RGB value is 157, 152, 172: 157 red, 152 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #9D98AC?
- The complementary color is #A7AC98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D98AC?
- Black text. Black text has a contrast ratio of 7.52:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.