#998FAF color
The hex color #998FAF is a light, grayish violet.
In the RGB color model it is made of 60% red, 56.1% green and 68.6% blue (153, 143, 175).
Its hue angle is 259°, with 17% saturation and 62% lightness. For print, the CMYK equivalent is 13% cyan, 18% magenta, 0% yellow and 31% black.
The closest named color is Wizard’s Brew (#A090B8), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.9:1).
#998FAF color codes
| HEX | #998FAF | |
|---|---|---|
| RGB | rgb(153, 143, 175) | |
| RGB percent | rgb(60%, 56.1%, 68.6%) | |
| HSL | hsl(259, 17%, 62%) | |
| HSV / HSB | hsv(259, 18%, 69%) | |
| CMYK | cmyk(13%, 18%, 0%, 31%) | |
| CIE LAB | lab(61.23, 10.15, -15.41) | |
| CIE LCH | lch(61.23, 18.45, 303.38) | |
| CIE XYZ | xyz(30.696, 29.512, 44.628) | |
| Decimal | 10063791 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #998FAF, 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 #998FAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.9:1 | Pass | Fail | Pass |
| Sample text | 3.04:1 | Fail | Fail | Pass |
| #998FAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.04:1 | Fail | Fail | Pass |
| Sample text | 6.9: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 #998FAF looks to people with the most common types of color vision deficiency.
#8994b0Protanopia
no red cones#8a94aeDeuteranopia
no green cones#95949aTritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #998faf; }
.text { color: #998faf; }
.border { border: 2px solid #998faf; }
.transparent { background-color: rgb(153 143 175 / 50%); }
.gradient { background: linear-gradient(to right, #998faf, #a98faf); }
Similar colors
#a090b8Wizard’s Brew#95859cHatoba Pigeon#a893c1Enchanted Lilac#9488beMagic Carpet#8c92acCool Gray#b090b2Metal Petal#a99fcfImperial Lilac#b39eb5Pastel Purple
Questions
- What color is #998FAF?
- #998FAF 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 #998FAF?
- The RGB value is 153, 143, 175: 153 red, 143 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #998FAF?
- The complementary color is #A5AF8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #998FAF?
- Black text. Black text has a contrast ratio of 6.9:1 and white text 3.04:1. WCAG asks for at least 4.5:1 for normal text.