Color #654fa2
A muted medium blue.
Conversions
#654fa2
rgb(101, 79, 162)
hsl(255.9, 34.4%, 47.3%)
hsv(255.9, 51.2%, 63.5%)
cmyk(37.7%, 51.2%, 0%, 36.5%)
lab(39.52, 28.95, -41.94)
lch(39.52, 50.96, 304.62)
oklch(49.1%, 0.1292, 293.25)
hwb(255.9, 31%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (6.58:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5c93 · ΔE 6.7
Deuteranopia
#5d5f8f · ΔE 8.2
Tritanopia
#648683 · ΔE 29.5
Achromatopsia
#5d5d5d · ΔE 24.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #654fa2;
bg-[#654fa2]
Related colors
Frequently asked questions
#654fa2 (#654fa2) is rgb(101, 79, 162) in RGB.
No, #654fa2 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 #654fa2, or check how it holds up for accessibility.