Color #7f38c3
A moderately saturated medium purple.
Conversions
#7f38c3
rgb(127, 56, 195)
hsl(270.6, 55.4%, 49.2%)
hsv(270.6, 71.3%, 76.5%)
cmyk(34.9%, 71.3%, 0%, 23.5%)
lab(40.05, 55.88, -60.43)
lch(40.05, 82.31, 312.76)
oklch(50.8%, 0.2052, 303.01)
hwb(270.6, 22%, 23.5%)
Harmony colors
Accessibility
White text reads better on this background (6.45:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6867ae · ΔE 14.7
Deuteranopia
#6b6fa8 · ΔE 17.6
Tritanopia
#7d9b96 · ΔE 36.6
Achromatopsia
#5e5e5e · ΔE 28.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f38c3;
bg-[#7f38c3]
Related colors
Frequently asked questions
#7f38c3 (#7f38c3) is rgb(127, 56, 195) in RGB.
No, #7f38c3 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 #7f38c3, or check how it holds up for accessibility.