Color #a898db
A moderately saturated light blue.
Conversions
#a898db
rgb(168, 152, 219)
hsl(254.3, 48.2%, 72.7%)
hsv(254.3, 30.6%, 85.9%)
cmyk(23.3%, 30.6%, 0%, 14.1%)
lab(66.44, 19.85, -31.96)
lch(66.44, 37.62, 301.84)
oklch(71.8%, 0.0973, 294.8)
hwb(254.3, 59.6%, 14.1%)
Harmony colors
Accessibility
Black text reads better on this background (8.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a1a1cd · ΔE 5.7
Deuteranopia
#a2a3ca · ΔE 6.9
Tritanopia
#a7c2bf · ΔE 25.6
Achromatopsia
#a2a2a2 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a898db;
bg-[#a898db]
Related colors
Frequently asked questions
#a898db (#a898db) is rgb(168, 152, 219) in RGB.
No, #a898db 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 #a898db, or check how it holds up for accessibility.