#A1A7C1 color
The hex color #A1A7C1 is a light, grayish blue.
In the RGB color model it is made of 63.1% red, 65.5% green and 75.7% blue (161, 167, 193).
Its hue angle is 229°, with 21% saturation and 69% lightness. For print, the CMYK equivalent is 17% cyan, 13% magenta, 0% yellow and 24% black.
The closest named color is Over the Moon (#ABB8D5), a difference of 5.3 ΔE.
Black text is the more readable choice on this background (contrast 8.81:1).
#A1A7C1 color codes
| HEX | #A1A7C1 | |
|---|---|---|
| RGB | rgb(161, 167, 193) | |
| RGB percent | rgb(63.1%, 65.5%, 75.7%) | |
| HSL | hsl(229, 21%, 69%) | |
| HSV / HSB | hsv(229, 17%, 76%) | |
| CMYK | cmyk(17%, 13%, 0%, 24%) | |
| CIE LAB | lab(68.8, 3.29, -14.01) | |
| CIE LCH | lch(68.8, 14.39, 283.2) | |
| CIE XYZ | xyz(38.14, 39.064, 55.972) | |
| Decimal | 10594241 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1A7C1, 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 #A1A7C1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.81:1 | Pass | Pass | Pass |
| Sample text | 2.38:1 | Fail | Fail | Fail |
| #A1A7C1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.81: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 #A1A7C1 looks to people with the most common types of color vision deficiency.
#a0a9c2Protanopia
no red cones#9ea7c0Deuteranopia
no green cones#9aacafTritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #a1a7c1; }
.text { color: #a1a7c1; }
.border { border: 2px solid #a1a7c1; }
.transparent { background-color: rgb(161 167 193 / 50%); }
.gradient { background: linear-gradient(to right, #a1a7c1, #aba1c1); }
Similar colors
#abb8d5Over the Moon#b0b8ccEthereal Mist#8d99b1Moon Veil#9999aaMachinery#b8b9cbCosmic#8d95aaSilverfish#979ba8Dusky Mood#b3b2bfNebulous December
Closest common color name: Cool Gray.
Questions
- What color is #A1A7C1?
- #A1A7C1 is a light, grayish blue, closest to the named color Over the Moon. It belongs to the blue family of colors.
- What is the RGB value of #A1A7C1?
- The RGB value is 161, 167, 193: 161 red, 167 green and 193 blue on a 0 to 255 scale.
- What is the complementary color of #A1A7C1?
- The complementary color is #C1BBA1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1A7C1?
- Black text. Black text has a contrast ratio of 8.81:1 and white text 2.38:1. WCAG asks for at least 4.5:1 for normal text.