Color #781bbe
A vivid, highly saturated medium purple.
Conversions
#781bbe
rgb(120, 27, 190)
hsl(274.2, 75.1%, 42.5%)
hsv(274.2, 85.8%, 74.5%)
cmyk(36.8%, 85.8%, 0%, 25.5%)
lab(34.99, 64.27, -65.79)
lch(34.99, 91.97, 314.33)
oklch(46.9%, 0.2262, 303.88)
hwb(274.2, 10.6%, 25.5%)
Harmony colors
Accessibility
White text reads better on this background (7.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#5e5da8 · ΔE 16.3
Deuteranopia
#6267a2 · ΔE 19.8
Tritanopia
#75948f · ΔE 38.2
Achromatopsia
#525252 · ΔE 30
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #781bbe;
bg-[#781bbe]
Related colors
Frequently asked questions
#781bbe (#781bbe) is rgb(120, 27, 190) in RGB.
No, #781bbe 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 #781bbe, or check how it holds up for accessibility.