Color #b5a8ef
A moderately saturated light blue.
Conversions
#b5a8ef
rgb(181, 168, 239)
hsl(251, 68.9%, 79.8%)
hsv(251, 29.7%, 93.7%)
cmyk(24.3%, 29.7%, 0%, 6.3%)
lab(72.27, 19.45, -33.82)
lch(72.27, 39.01, 299.9)
oklch(76.8%, 0.101, 292.22)
hwb(251, 65.9%, 6.3%)
Harmony colors
Accessibility
Black text reads better on this background (9.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b0afe0 · ΔE 4.7
Deuteranopia
#b0b1dd · ΔE 5.9
Tritanopia
#b4d4d1 · ΔE 25.9
Achromatopsia
#b1b1b1 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b5a8ef;
bg-[#b5a8ef]
Related colors
Frequently asked questions
#b5a8ef (#b5a8ef) is rgb(181, 168, 239) in RGB.
No, #b5a8ef 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 #b5a8ef, or check how it holds up for accessibility.