Color #7158bc
A moderately saturated medium blue.
Conversions
#7158bc
rgb(113, 88, 188)
hsl(255, 42.7%, 54.1%)
hsv(255, 53.2%, 73.7%)
cmyk(39.9%, 53.2%, 0%, 26.3%)
lab(44.41, 33.89, -49.4)
lch(44.41, 59.91, 304.45)
oklch(53.5%, 0.1512, 292.02)
hwb(255, 34.5%, 26.3%)
Harmony colors
Accessibility
White text reads better on this background (5.49:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6767ab · ΔE 6.9
Deuteranopia
#686aa6 · ΔE 8.3
Tritanopia
#709b97 · ΔE 32.9
Achromatopsia
#696969 · ΔE 25.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7158bc;
bg-[#7158bc]
Related colors
Frequently asked questions
#7158bc (#7158bc) is rgb(113, 88, 188) in RGB.
No, #7158bc 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 #7158bc, or check how it holds up for accessibility.