Color #a862bf
A moderately saturated medium purple.
Conversions
#a862bf
rgb(168, 98, 191)
hsl(285.2, 42.1%, 56.7%)
hsv(285.2, 48.7%, 74.9%)
cmyk(12%, 48.7%, 0%, 25.1%)
lab(52.75, 43.77, -37.51)
lch(52.75, 57.64, 319.4)
oklch(61.1%, 0.1534, 317.32)
hwb(285.2, 38.4%, 25.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8eae · ΔE 17.8
Deuteranopia
#9397aa · ΔE 21.1
Tritanopia
#a59f9c · ΔE 29
Achromatopsia
#7e7e7e · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a862bf;
bg-[#a862bf]
Related colors
Frequently asked questions
#a862bf (#a862bf) is rgb(168, 98, 191) in RGB.
No, #a862bf 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 #a862bf, or check how it holds up for accessibility.