Color #8a74bb
A muted medium blue.
Conversions
#8a74bb
rgb(138, 116, 187)
hsl(258.6, 34.3%, 59.4%)
hsv(258.6, 38%, 73.3%)
cmyk(26.2%, 38%, 0%, 26.7%)
lab(53.47, 23.85, -34.31)
lch(53.47, 41.79, 304.8)
oklch(60.8%, 0.1076, 297.4)
hwb(258.6, 45.5%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.3:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8181ad · ΔE 7.2
Deuteranopia
#8284aa · ΔE 8.7
Tritanopia
#89a19e · ΔE 26.4
Achromatopsia
#808080 · ΔE 22.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a74bb;
bg-[#8a74bb]
Related colors
Frequently asked questions
#8a74bb (#8a74bb) is rgb(138, 116, 187) in RGB.
No, #8a74bb 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 #8a74bb, or check how it holds up for accessibility.