Color #7870c4
A moderately saturated light blue.
Conversions
#7870c4
rgb(120, 112, 196)
hsl(245.7, 41.6%, 60.4%)
hsv(245.7, 42.9%, 76.9%)
cmyk(38.8%, 42.9%, 0%, 23.1%)
lab(51.34, 23.55, -42.93)
lch(51.34, 48.97, 298.75)
oklch(59%, 0.126, 286.22)
hwb(245.7, 43.9%, 23.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.91:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7575b4 · ΔE 3.8
Deuteranopia
#7576b0 · ΔE 4.7
Tritanopia
#78a6a3 · ΔE 29.6
Achromatopsia
#7a7a7a · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7870c4;
bg-[#7870c4]
Related colors
Frequently asked questions
#7870c4 (#7870c4) is rgb(120, 112, 196) in RGB.
No, #7870c4 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 #7870c4, or check how it holds up for accessibility.