Color #8a78a5
A muted medium purple.
Conversions
#8a78a5
rgb(138, 120, 165)
hsl(264, 20%, 55.9%)
hsv(264, 27.3%, 64.7%)
cmyk(16.4%, 27.3%, 0%, 35.3%)
lab(53.55, 16.19, -21.5)
lch(53.55, 26.91, 306.98)
oklch(60.6%, 0.07, 302.69)
hwb(264, 47.1%, 35.3%)
Harmony colors
Accessibility
Black text reads better on this background (5.31:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#83829c · ΔE 8
Deuteranopia
#848599 · ΔE 10.6
Tritanopia
#899492 · ΔE 22.4
Achromatopsia
#808080 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a78a5;
bg-[#8a78a5]
Related colors
Frequently asked questions
#8a78a5 (#8a78a5) is rgb(138, 120, 165) in RGB.
No, #8a78a5 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 #8a78a5, or check how it holds up for accessibility.