Color #795da7
A muted medium purple.
Conversions
#795da7
rgb(121, 93, 167)
hsl(262.7, 29.6%, 51%)
hsv(262.7, 44.3%, 65.5%)
cmyk(27.5%, 44.3%, 0%, 34.5%)
lab(45.2, 27.4, -35.79)
lch(45.2, 45.07, 307.44)
oklch(53.9%, 0.1156, 300)
hwb(262.7, 36.5%, 34.5%)
Harmony colors
Accessibility
White text reads better on this background (5.33:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6e99 · ΔE 8.8
Deuteranopia
#707196 · ΔE 10.2
Tritanopia
#788d8a · ΔE 27.2
Achromatopsia
#6b6b6b · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #795da7;
bg-[#795da7]
Related colors
Frequently asked questions
#795da7 (#795da7) is rgb(121, 93, 167) in RGB.
No, #795da7 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 #795da7, or check how it holds up for accessibility.