Color #7958b9
A moderately saturated medium purple.
Conversions
#7958b9
rgb(121, 88, 185)
hsl(260.4, 40.9%, 53.5%)
hsv(260.4, 52.4%, 72.5%)
cmyk(34.6%, 52.4%, 0%, 27.5%)
lab(45.01, 35.07, -46.65)
lch(45.01, 58.36, 306.93)
oklch(54%, 0.1478, 296.88)
hwb(260.4, 34.5%, 27.5%)
Harmony colors
Accessibility
White text reads better on this background (5.37:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6ca8 · ΔE 8.9
Deuteranopia
#6e70a4 · ΔE 10.5
Tritanopia
#789995 · ΔE 31.4
Achromatopsia
#6a6a6a · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7958b9;
bg-[#7958b9]
Related colors
Frequently asked questions
#7958b9 (#7958b9) is rgb(121, 88, 185) in RGB.
No, #7958b9 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 #7958b9, or check how it holds up for accessibility.