Color #8a3fa1
A moderately saturated medium purple.
Conversions
#8a3fa1
rgb(138, 63, 161)
hsl(285.9, 43.7%, 43.9%)
hsv(285.9, 60.9%, 63.1%)
cmyk(14.3%, 60.9%, 0%, 36.9%)
lab(40.46, 47.39, -39.59)
lch(40.46, 61.75, 320.12)
oklch(50.7%, 0.1639, 317.55)
hwb(285.9, 24.7%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (6.35:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#717191 · ΔE 19
Deuteranopia
#75798d · ΔE 22.1
Tritanopia
#87827f · ΔE 30.8
Achromatopsia
#5f5f5f · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a3fa1;
bg-[#8a3fa1]
Related colors
Frequently asked questions
#8a3fa1 (#8a3fa1) is rgb(138, 63, 161) in RGB.
No, #8a3fa1 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 #8a3fa1, or check how it holds up for accessibility.