Color #795bb2
A muted medium purple.
Conversions
#795bb2
rgb(121, 91, 178)
hsl(260.7, 36.1%, 52.7%)
hsv(260.7, 48.9%, 69.8%)
cmyk(32%, 48.9%, 0%, 30.2%)
lab(45.31, 31.45, -42.08)
lch(45.31, 52.53, 306.77)
oklch(54.1%, 0.1338, 297.66)
hwb(260.7, 35.7%, 30.2%)
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
#6d6da2 · ΔE 8.5
Deuteranopia
#6f719e · ΔE 10.3
Tritanopia
#789491 · ΔE 29
Achromatopsia
#6b6b6b · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #795bb2;
bg-[#795bb2]
Related colors
Frequently asked questions
#795bb2 (#795bb2) is rgb(121, 91, 178) in RGB.
No, #795bb2 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 #795bb2, or check how it holds up for accessibility.