#997FAF color
The hex color #997FAF is a grayish violet.
In the RGB color model it is made of 60% red, 49.8% green and 68.6% blue (153, 127, 175).
Its hue angle is 272°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 13% cyan, 27% magenta, 0% yellow and 31% black.
The closest named color is Lavender Purple (#967BB6), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.01:1).
#997FAF color codes
| HEX | #997FAF | |
|---|---|---|
| RGB | rgb(153, 127, 175) | |
| RGB percent | rgb(60%, 49.8%, 68.6%) | |
| HSL | hsl(272, 23%, 59%) | |
| HSV / HSB | hsv(272, 27%, 69%) | |
| CMYK | cmyk(13%, 27%, 0%, 31%) | |
| CIE LAB | lab(57.12, 19.34, -21.66) | |
| CIE LCH | lch(57.12, 29.04, 311.76) | |
| CIE XYZ | xyz(28.463, 25.046, 43.884) | |
| Decimal | 10059695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #997FAF, 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 #997FAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.01:1 | Pass | Fail | Pass |
| Sample text | 3.49:1 | Fail | Fail | Pass |
| #997FAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.49:1 | Fail | Fail | Pass |
| Sample text | 6.01: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 #997FAF looks to people with the most common types of color vision deficiency.
#7788b1Protanopia
no red cones#7c8aaeDeuteranopia
no green cones#968590Tritanopia
no blue cones#898989Achromatopsia
no color vision
CSS examples
.background { background-color: #997faf; }
.text { color: #997faf; }
.border { border: 2px solid #997faf; }
.transparent { background-color: rgb(153 127 175 / 50%); }
.gradient { background: linear-gradient(to right, #997faf, #af7fad); }
Similar colors
#967bb6Lavender Purple#a97fb1Heart Potion#9c87c1Petrified Purple#ab7cb4Berries Galore#867ba9Aster#9488beMagic Carpet#a090b8Wizard’s Brew#a893c1Enchanted Lilac
Questions
- What color is #997FAF?
- #997FAF is a grayish violet, closest to the named color Lavender Purple. It belongs to the purple family of colors.
- What is the RGB value of #997FAF?
- The RGB value is 153, 127, 175: 153 red, 127 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #997FAF?
- The complementary color is #95AF7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #997FAF?
- Black text. Black text has a contrast ratio of 6.01:1 and white text 3.49:1. WCAG asks for at least 4.5:1 for normal text.