Color #8e45a4
A moderately saturated medium purple.
Conversions
#8e45a4
rgb(142, 69, 164)
hsl(286.1, 40.8%, 45.7%)
hsv(286.1, 57.9%, 64.3%)
cmyk(13.4%, 57.9%, 0%, 35.7%)
lab(42.29, 46.06, -38.45)
lch(42.29, 60, 320.15)
oklch(52.2%, 0.1596, 317.79)
hwb(286.1, 27.1%, 35.7%)
Harmony colors
Accessibility
White text reads better on this background (5.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#757594 · ΔE 18.9
Deuteranopia
#797e90 · ΔE 22.2
Tritanopia
#8b8582 · ΔE 30.2
Achromatopsia
#646464 · ΔE 25.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8e45a4;
bg-[#8e45a4]
Related colors
Frequently asked questions
#8e45a4 (#8e45a4) is rgb(142, 69, 164) in RGB.
No, #8e45a4 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 #8e45a4, or check how it holds up for accessibility.