Color #a28fa1
A nearly neutral, gray-leaning medium magenta.
Conversions
#a28fa1
rgb(162, 143, 161)
hsl(303.2, 9.3%, 59.8%)
hsv(303.2, 11.7%, 63.5%)
cmyk(0%, 11.7%, 0.6%, 36.5%)
lab(61.57, 10.4, -6.88)
lch(61.57, 12.47, 326.51)
oklch(67.3%, 0.0341, 327.57)
hwb(303.2, 56.1%, 36.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.98:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9a9d · ΔE 11.3
Deuteranopia
#9b9d9c · ΔE 13.9
Tritanopia
#a19a99 · ΔE 10.6
Achromatopsia
#959595 · ΔE 12.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a28fa1;
bg-[#a28fa1]
Related colors
Frequently asked questions
#a28fa1 (#a28fa1) is rgb(162, 143, 161) in RGB.
No, #a28fa1 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #a28fa1, or check how it holds up for accessibility.