Color #654cba
A moderately saturated medium blue.
Conversions
#654cba
rgb(101, 76, 186)
hsl(253.6, 44.4%, 51.4%)
hsv(253.6, 59.1%, 72.9%)
cmyk(45.7%, 59.1%, 0%, 27.1%)
lab(40.38, 37.66, -54.77)
lch(40.38, 66.47, 304.51)
oklch(50.2%, 0.1658, 289.52)
hwb(253.6, 29.8%, 27.1%)
Harmony colors
Accessibility
White text reads better on this background (6.37:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5ba8 · ΔE 6.5
Deuteranopia
#5d5ea3 · ΔE 7.8
Tritanopia
#649793 · ΔE 35.4
Achromatopsia
#5f5f5f · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #654cba;
bg-[#654cba]
Related colors
Frequently asked questions
#654cba (#654cba) is rgb(101, 76, 186) in RGB.
No, #654cba 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 #654cba, or check how it holds up for accessibility.