Color #6d5ea6
A muted medium blue.
Conversions
#6d5ea6
rgb(109, 94, 166)
hsl(252.5, 28.8%, 51%)
hsv(252.5, 43.4%, 65.1%)
cmyk(34.3%, 43.4%, 0%, 34.9%)
lab(44.25, 23.08, -36.77)
lch(44.25, 43.41, 302.12)
oklch(52.8%, 0.1112, 291.7)
hwb(252.5, 36.9%, 34.9%)
Harmony colors
Accessibility
White text reads better on this background (5.52:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#676798 · ΔE 5.4
Deuteranopia
#686995 · ΔE 6.6
Tritanopia
#6c8d8a · ΔE 28.2
Achromatopsia
#696969 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6d5ea6;
bg-[#6d5ea6]
Related colors
Frequently asked questions
#6d5ea6 (#6d5ea6) is rgb(109, 94, 166) in RGB.
No, #6d5ea6 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 #6d5ea6, or check how it holds up for accessibility.