Color #8340aa
A moderately saturated medium purple.
Conversions
#8340aa
rgb(131, 64, 170)
hsl(277.9, 45.3%, 45.9%)
hsv(277.9, 62.4%, 66.7%)
cmyk(22.9%, 62.4%, 0%, 33.3%)
lab(40.24, 47.09, -45.38)
lch(40.24, 65.4, 316.06)
oklch(50.5%, 0.1691, 310.9)
hwb(277.9, 25.1%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (6.4:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6c99 · ΔE 16.3
Deuteranopia
#707494 · ΔE 19.4
Tritanopia
#818985 · ΔE 31.9
Achromatopsia
#5f5f5f · ΔE 26.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8340aa;
bg-[#8340aa]
Related colors
Frequently asked questions
#8340aa (#8340aa) is rgb(131, 64, 170) in RGB.
No, #8340aa 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 #8340aa, or check how it holds up for accessibility.