Color #8a3fa2
A moderately saturated medium purple.
Conversions
#8a3fa2
rgb(138, 63, 162)
hsl(285.5, 44%, 44.1%)
hsv(285.5, 61.1%, 63.5%)
cmyk(14.8%, 61.1%, 0%, 36.5%)
lab(40.52, 47.59, -40.1)
lch(40.52, 62.23, 319.88)
oklch(50.8%, 0.1649, 317.19)
hwb(285.5, 24.7%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (6.34:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#717192 · ΔE 18.9
Deuteranopia
#75798d · ΔE 22.1
Tritanopia
#87837f · ΔE 31.9
Achromatopsia
#5f5f5f · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a3fa2;
bg-[#8a3fa2]
Related colors
Frequently asked questions
#8a3fa2 (#8a3fa2) is rgb(138, 63, 162) in RGB.
No, #8a3fa2 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 #8a3fa2, or check how it holds up for accessibility.