Color #a8a1b2
A nearly neutral, gray-leaning light purple.
Conversions
#a8a1b2
rgb(168, 161, 178)
hsl(264.7, 9.9%, 66.5%)
hsv(264.7, 9.6%, 69.8%)
cmyk(5.6%, 9.6%, 0%, 30.2%)
lab(67.3, 5.8, -7.87)
lch(67.3, 9.78, 306.39)
oklch(72%, 0.0255, 304.31)
hwb(264.7, 63.1%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (8.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a5a5ae · ΔE 5.2
Deuteranopia
#a5a6ad · ΔE 6.4
Tritanopia
#a8abaa · ΔE 11
Achromatopsia
#a4a4a4 · ΔE 9.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a8a1b2;
bg-[#a8a1b2]
Related colors
Frequently asked questions
#a8a1b2 (#a8a1b2) is rgb(168, 161, 178) in RGB.
No, #a8a1b2 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 #a8a1b2, or check how it holds up for accessibility.