Color #797dec
A vivid, highly saturated light blue.
Conversions
#797dec
rgb(121, 125, 236)
hsl(237.9, 75.2%, 70%)
hsv(237.9, 48.7%, 92.5%)
cmyk(48.7%, 47%, 0%, 7.5%)
lab(56.87, 27.69, -56.72)
lch(56.87, 63.12, 296.02)
oklch(63.9%, 0.1634, 279.16)
hwb(237.9, 47.5%, 7.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.96:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7bd8 · ΔE 3.1
Deuteranopia
#7b7ad3 · ΔE 3.9
Tritanopia
#79c6c2 · ΔE 34.6
Achromatopsia
#888888 · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797dec;
bg-[#797dec]
Related colors
Frequently asked questions
#797dec (#797dec) is rgb(121, 125, 236) in RGB.
No, #797dec 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 #797dec, or check how it holds up for accessibility.