Color #a5a1b2
A nearly neutral, gray-leaning light blue.
Conversions
#a5a1b2
rgb(165, 161, 178)
hsl(254.1, 9.9%, 66.5%)
hsv(254.1, 9.6%, 69.8%)
cmyk(7.3%, 9.6%, 0%, 30.2%)
lab(67.05, 4.76, -8.26)
lch(67.05, 9.53, 299.95)
oklch(71.8%, 0.0247, 296.67)
hwb(254.1, 63.1%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (8.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a3a3ae · ΔE 3.5
Deuteranopia
#a4a4ad · ΔE 4.3
Tritanopia
#a5abaa · ΔE 11.2
Achromatopsia
#a3a3a3 · ΔE 8.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a5a1b2;
bg-[#a5a1b2]
Related colors
Frequently asked questions
#a5a1b2 (#a5a1b2) is rgb(165, 161, 178) in RGB.
No, #a5a1b2 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #a5a1b2, or check how it holds up for accessibility.