Color #7e27ca
A moderately saturated medium purple.
Conversions
#7e27ca
rgb(126, 39, 202)
hsl(272, 67.6%, 47.3%)
hsv(272, 80.7%, 79.2%)
cmyk(37.6%, 80.7%, 0%, 20.8%)
lab(38.11, 64.09, -67.68)
lch(38.11, 93.21, 313.44)
oklch(49.6%, 0.2292, 302.51)
hwb(272, 15.3%, 20.8%)
Harmony colors
Accessibility
White text reads better on this background (6.93:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6463b3 · ΔE 15.7
Deuteranopia
#686dad · ΔE 19.2
Tritanopia
#7b9e99 · ΔE 39.2
Achromatopsia
#5a5a5a · ΔE 30.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e27ca;
bg-[#7e27ca]
Related colors
Frequently asked questions
#7e27ca (#7e27ca) is rgb(126, 39, 202) in RGB.
No, #7e27ca 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 #7e27ca, or check how it holds up for accessibility.