Color #a798ca
A muted light blue.
Conversions
#a798ca
rgb(167, 152, 202)
hsl(258, 32.1%, 69.4%)
hsv(258, 24.8%, 79.2%)
cmyk(17.3%, 24.8%, 0%, 20.8%)
lab(65.7, 15.62, -23.67)
lch(65.7, 28.36, 303.42)
oklch(71%, 0.0736, 298.24)
hwb(258, 59.6%, 20.8%)
Harmony colors
Accessibility
Black text reads better on this background (7.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a1a1bf · ΔE 7.1
Deuteranopia
#a2a3bd · ΔE 8.5
Tritanopia
#a6b7b4 · ΔE 23.5
Achromatopsia
#a0a0a0 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a798ca;
bg-[#a798ca]
Related colors
Frequently asked questions
#a798ca (#a798ca) is rgb(167, 152, 202) in RGB.
No, #a798ca 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 #a798ca, or check how it holds up for accessibility.