Color #8a7aa8
A muted medium purple.
Conversions
#8a7aa8
rgb(138, 122, 168)
hsl(260.9, 20.9%, 56.9%)
hsv(260.9, 27.4%, 65.9%)
cmyk(17.9%, 27.4%, 0%, 34.1%)
lab(54.19, 15.72, -22.26)
lch(54.19, 27.25, 305.23)
oklch(61.1%, 0.0707, 300.23)
hwb(260.9, 47.8%, 34.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#83839e · ΔE 7.7
Deuteranopia
#84859c · ΔE 9.3
Tritanopia
#899694 · ΔE 22.7
Achromatopsia
#828282 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a7aa8;
bg-[#8a7aa8]
Related colors
Frequently asked questions
#8a7aa8 (#8a7aa8) is rgb(138, 122, 168) in RGB.
No, #8a7aa8 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 #8a7aa8, or check how it holds up for accessibility.