Color #817d98
A nearly neutral, gray-leaning medium blue.
Conversions
#817d98
rgb(129, 125, 152)
hsl(248.9, 11.6%, 54.3%)
hsv(248.9, 17.8%, 59.6%)
cmyk(15.1%, 17.8%, 0%, 40.4%)
lab(53.6, 7.24, -13.94)
lch(53.6, 15.71, 297.45)
oklch(60.3%, 0.0408, 291.85)
hwb(248.9, 49%, 40.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7f7f92 · ΔE 3.7
Deuteranopia
#808091 · ΔE 4.5
Tritanopia
#818d8c · ΔE 16.8
Achromatopsia
#808080 · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #817d98;
bg-[#817d98]
Related colors
Frequently asked questions
#817d98 (#817d98) is rgb(129, 125, 152) in RGB.
No, #817d98 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 #817d98, or check how it holds up for accessibility.