Color #8a7ead
A muted medium blue.
Conversions
#8a7ead
rgb(138, 126, 173)
hsl(255.3, 22.3%, 58.6%)
hsv(255.3, 27.2%, 67.8%)
cmyk(20.2%, 27.2%, 0%, 32.2%)
lab(55.42, 14.55, -23.24)
lch(55.42, 27.42, 302.05)
oklch(62.1%, 0.0711, 295.95)
hwb(255.3, 49.4%, 32.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.67:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8585a3 · ΔE 6.1
Deuteranopia
#8687a1 · ΔE 7.7
Tritanopia
#899b99 · ΔE 23.3
Achromatopsia
#858585 · ΔE 18.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a7ead;
bg-[#8a7ead]
Related colors
Frequently asked questions
#8a7ead (#8a7ead) is rgb(138, 126, 173) in RGB.
No, #8a7ead 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 #8a7ead, or check how it holds up for accessibility.