Color #8a78b5
A muted medium blue.
Conversions
#8a78b5
rgb(138, 120, 181)
hsl(257.7, 29.2%, 59%)
hsv(257.7, 33.7%, 71%)
cmyk(23.8%, 33.7%, 0%, 29%)
lab(54.21, 20.01, -29.71)
lch(54.21, 35.82, 303.96)
oklch(61.3%, 0.0925, 297.15)
hwb(257.7, 47.1%, 29%)
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
#8382a9 · ΔE 6.4
Deuteranopia
#8485a6 · ΔE 8.2
Tritanopia
#899e9c · ΔE 24.9
Achromatopsia
#828282 · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a78b5;
bg-[#8a78b5]
Related colors
Frequently asked questions
#8a78b5 (#8a78b5) is rgb(138, 120, 181) in RGB.
No, #8a78b5 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 #8a78b5, or check how it holds up for accessibility.