Color #a797dc
A moderately saturated light blue.
Conversions
#a797dc
rgb(167, 151, 220)
hsl(253.9, 49.6%, 72.7%)
hsv(253.9, 31.4%, 86.3%)
cmyk(24.1%, 31.4%, 0%, 13.7%)
lab(66.15, 20.35, -32.97)
lch(66.15, 38.74, 301.68)
oklch(71.6%, 0.1001, 294.36)
hwb(253.9, 59.2%, 13.7%)
Harmony colors
Accessibility
Black text reads better on this background (8.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a0a0ce · ΔE 5.5
Deuteranopia
#a1a2ca · ΔE 6.9
Tritanopia
#a6c2bf · ΔE 25.8
Achromatopsia
#a1a1a1 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a797dc;
bg-[#a797dc]
Related colors
Frequently asked questions
#a797dc (#a797dc) is rgb(167, 151, 220) in RGB.
No, #a797dc 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 #a797dc, or check how it holds up for accessibility.