Color #7f70af
A muted medium blue.
Conversions
#7f70af
rgb(127, 112, 175)
hsl(254.3, 28.3%, 56.3%)
hsv(254.3, 36%, 68.6%)
cmyk(27.4%, 36%, 0%, 31.4%)
lab(50.91, 19.88, -31.46)
lch(50.91, 37.21, 302.29)
oklch(58.5%, 0.0959, 294.19)
hwb(254.3, 43.9%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.84:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7979a3 · ΔE 5.7
Deuteranopia
#7a7b9f · ΔE 7.2
Tritanopia
#7e9895 · ΔE 26.3
Achromatopsia
#797979 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f70af;
bg-[#7f70af]
Related colors
Frequently asked questions
#7f70af (#7f70af) is rgb(127, 112, 175) in RGB.
No, #7f70af 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 #7f70af, or check how it holds up for accessibility.