Color #796da8
A muted medium blue.
Conversions
#796da8
rgb(121, 109, 168)
hsl(252.2, 25.3%, 54.3%)
hsv(252.2, 35.1%, 65.9%)
cmyk(28%, 35.1%, 0%, 34.1%)
lab(49.29, 18.05, -29.96)
lch(49.29, 34.98, 301.07)
oklch(57%, 0.0902, 292.61)
hwb(252.2, 42.7%, 34.1%)
Harmony colors
Accessibility
White text reads better on this background (4.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#74749c · ΔE 5.1
Deuteranopia
#757699 · ΔE 6.6
Tritanopia
#789290 · ΔE 25.6
Achromatopsia
#757575 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796da8;
bg-[#796da8]
Related colors
Frequently asked questions
#796da8 (#796da8) is rgb(121, 109, 168) in RGB.
No, #796da8 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 #796da8, or check how it holds up for accessibility.