Color #8a3d98
A moderately saturated medium magenta.
Conversions
#8a3d98
rgb(138, 61, 152)
hsl(290.8, 42.7%, 41.8%)
hsv(290.8, 59.9%, 59.6%)
cmyk(9.2%, 59.9%, 0%, 40.4%)
lab(39.59, 46.52, -35.56)
lch(39.59, 58.55, 322.61)
oklch(49.9%, 0.158, 321.24)
hwb(290.8, 23.9%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (6.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#717089 · ΔE 20
Deuteranopia
#757985 · ΔE 23.4
Tritanopia
#877b78 · ΔE 28.7
Achromatopsia
#5d5d5d · ΔE 25.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a3d98;
bg-[#8a3d98]
Related colors
Frequently asked questions
#8a3d98 (#8a3d98) is rgb(138, 61, 152) in RGB.
No, #8a3d98 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 #8a3d98, or check how it holds up for accessibility.