Color #654db8
A moderately saturated medium blue.
Conversions
#654db8
rgb(101, 77, 184)
hsl(253.5, 43%, 51.2%)
hsv(253.5, 58.2%, 72.2%)
cmyk(45.1%, 58.2%, 0%, 27.8%)
lab(40.47, 36.49, -53.46)
lch(40.47, 64.73, 304.32)
oklch(50.2%, 0.1619, 289.6)
hwb(253.5, 30.2%, 27.8%)
Harmony colors
Accessibility
White text reads better on this background (6.35:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5ba6 · ΔE 6.3
Deuteranopia
#5d5fa1 · ΔE 8
Tritanopia
#649692 · ΔE 35
Achromatopsia
#5f5f5f · ΔE 26.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #654db8;
bg-[#654db8]
Related colors
Frequently asked questions
#654db8 (#654db8) is rgb(101, 77, 184) in RGB.
No, #654db8 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 #654db8, or check how it holds up for accessibility.