Color #7e40ff
A vivid, highly saturated light blue.
Conversions
#7e40ff
rgb(126, 64, 255)
hsl(259.5, 100%, 62.5%)
hsv(259.5, 74.9%, 100%)
cmyk(50.6%, 74.9%, 0%, 0%)
lab(46.07, 67.04, -84.79)
lch(46.07, 108.09, 308.33)
oklch(56.5%, 0.2598, 290.29)
hwb(259.5, 25.1%, 0%)
Harmony colors
Accessibility
White text reads better on this background (5.17:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6968e3 · ΔE 10.4
Deuteranopia
#6c70dc · ΔE 13
Tritanopia
#7ccac4 · ΔE 44.6
Achromatopsia
#6d6d6d · ΔE 31.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e40ff;
bg-[#7e40ff]
Related colors
Frequently asked questions
#7e40ff (#7e40ff) is rgb(126, 64, 255) in RGB.
No, #7e40ff is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #7e40ff, or check how it holds up for accessibility.