Color #a797cc
A muted light blue.
Conversions
#a797cc
rgb(167, 151, 204)
hsl(258.1, 34.2%, 69.6%)
hsv(258.1, 26%, 80%)
cmyk(18.1%, 26%, 0%, 20%)
lab(65.52, 16.64, -25.05)
lch(65.52, 30.07, 303.59)
oklch(70.9%, 0.078, 298.24)
hwb(258.1, 59.2%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (7.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a0a0c1 · ΔE 6.7
Deuteranopia
#a1a2be · ΔE 8.4
Tritanopia
#a6b7b5 · ΔE 23.3
Achromatopsia
#9f9f9f · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a797cc;
bg-[#a797cc]
Related colors
Frequently asked questions
#a797cc (#a797cc) is rgb(167, 151, 204) in RGB.
No, #a797cc 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 #a797cc, or check how it holds up for accessibility.