#A5A6C8 color
The hex color #A5A6C8 is a light, grayish blue.
In the RGB color model it is made of 64.7% red, 65.1% green and 78.4% blue (165, 166, 200).
Its hue angle is 238°, with 24% saturation and 72% lightness. For print, the CMYK equivalent is 17% cyan, 17% magenta, 0% yellow and 22% black.
The closest named color is Imperial Lilac (#A99FCF), a difference of 5 ΔE.
Black text is the more readable choice on this background (contrast 8.89:1).
#A5A6C8 color codes
| HEX | #A5A6C8 | |
|---|---|---|
| RGB | rgb(165, 166, 200) | |
| RGB percent | rgb(64.7%, 65.1%, 78.4%) | |
| HSL | hsl(238, 24%, 72%) | |
| HSV / HSB | hsv(238, 17%, 78%) | |
| CMYK | cmyk(17%, 17%, 0%, 22%) | |
| CIE LAB | lab(69.07, 6.69, -17.44) | |
| CIE LCH | lch(69.07, 18.68, 290.97) | |
| CIE XYZ | xyz(39.576, 39.441, 60.16) | |
| Decimal | 10856136 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A6C8, 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 #A5A6C8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.89:1 | Pass | Pass | Pass |
| Sample text | 2.36:1 | Fail | Fail | Fail |
| #A5A6C8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.36:1 | Fail | Fail | Fail |
| Sample text | 8.89: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 #A5A6C8 looks to people with the most common types of color vision deficiency.
#9eaacaProtanopia
no red cones#9ca8c7Deuteranopia
no green cones#9eacb1Tritanopia
no blue cones#a9a9a9Achromatopsia
no color vision
CSS examples
.background { background-color: #a5a6c8; }
.text { color: #a5a6c8; }
.border { border: 2px solid #a5a6c8; }
.transparent { background-color: rgb(165 166 200 / 50%); }
.gradient { background: linear-gradient(to right, #a5a6c8, #b5a5c8); }
Similar colors
#a99fcfImperial Lilac#bdb0d0Pastel Lilac#8e97c7Easter Egg#c0b2d7Moonraker#abb8d5Over the Moon#b8bfdcStardust Evening#c0b0d0Vintage Bloom#9999aaMachinery
Closest common color name: Cool Gray.
Questions
- What color is #A5A6C8?
- #A5A6C8 is a light, grayish blue, closest to the named color Imperial Lilac. It belongs to the blue family of colors.
- What is the RGB value of #A5A6C8?
- The RGB value is 165, 166, 200: 165 red, 166 green and 200 blue on a 0 to 255 scale.
- What is the complementary color of #A5A6C8?
- The complementary color is #C8C7A5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A6C8?
- Black text. Black text has a contrast ratio of 8.89:1 and white text 2.36:1. WCAG asks for at least 4.5:1 for normal text.