Color #8a7ea7
A muted medium blue.
Conversions
#8a7ea7
rgb(138, 126, 167)
hsl(257.6, 18.9%, 57.5%)
hsv(257.6, 24.6%, 65.5%)
cmyk(17.4%, 24.6%, 0%, 34.5%)
lab(55.19, 13.14, -20.14)
lch(55.19, 24.05, 303.12)
oklch(61.9%, 0.0624, 298)
hwb(257.6, 49.4%, 34.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.62:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#85859e · ΔE 6.8
Deuteranopia
#86879c · ΔE 8.4
Tritanopia
#899795 · ΔE 21.8
Achromatopsia
#848484 · ΔE 17.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a7ea7;
bg-[#8a7ea7]
Related colors
Frequently asked questions
#8a7ea7 (#8a7ea7) is rgb(138, 126, 167) in RGB.
No, #8a7ea7 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 #8a7ea7, or check how it holds up for accessibility.