Color #8166c2
A moderately saturated medium blue.
Conversions
#8166c2
rgb(129, 102, 194)
hsl(257.6, 43%, 58%)
hsv(257.6, 47.4%, 76.1%)
cmyk(33.5%, 47.4%, 0%, 23.9%)
lab(49.57, 31.35, -44.54)
lch(49.57, 54.47, 305.14)
oklch(57.8%, 0.1388, 295.25)
hwb(257.6, 40%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.61:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7676b1 · ΔE 7.6
Deuteranopia
#787aad · ΔE 9.3
Tritanopia
#80a29f · ΔE 29.6
Achromatopsia
#767676 · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8166c2;
bg-[#8166c2]
Related colors
Frequently asked questions
#8166c2 (#8166c2) is rgb(129, 102, 194) in RGB.
No, #8166c2 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 #8166c2, or check how it holds up for accessibility.