Color #8a6a98
A muted medium purple.
Conversions
#8a6a98
rgb(138, 106, 152)
hsl(281.7, 18.3%, 50.6%)
hsv(281.7, 30.3%, 59.6%)
cmyk(9.2%, 30.3%, 0%, 40.4%)
lab(49.47, 21.51, -20.16)
lch(49.47, 29.48, 316.86)
oklch(57.3%, 0.0783, 315.36)
hwb(281.7, 41.6%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7d7d8f · ΔE 13.7
Deuteranopia
#7f818c · ΔE 16.8
Tritanopia
#898785 · ΔE 21.9
Achromatopsia
#767676 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a6a98;
bg-[#8a6a98]
Related colors
Frequently asked questions
#8a6a98 (#8a6a98) is rgb(138, 106, 152) in RGB.
No, #8a6a98 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 #8a6a98, or check how it holds up for accessibility.