Color #7c5ca8
A muted medium purple.
Conversions
#7c5ca8
rgb(124, 92, 168)
hsl(265.3, 30.4%, 51%)
hsv(265.3, 45.2%, 65.9%)
cmyk(26.2%, 45.2%, 0%, 34.1%)
lab(45.31, 29.13, -36.17)
lch(45.31, 46.44, 308.85)
oklch(54%, 0.1193, 301.99)
hwb(265.3, 36.1%, 34.1%)
Harmony colors
Accessibility
White text reads better on this background (5.31:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#706f9a · ΔE 9.4
Deuteranopia
#717496 · ΔE 11.9
Tritanopia
#7b8d8b · ΔE 26.2
Achromatopsia
#6b6b6b · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7c5ca8;
bg-[#7c5ca8]
Related colors
Frequently asked questions
#7c5ca8 (#7c5ca8) is rgb(124, 92, 168) in RGB.
No, #7c5ca8 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 #7c5ca8, or check how it holds up for accessibility.