Skip to content
Kolorvia
#ab5ac1

Color #ab5ac1

A moderately saturated medium purple.

Conversions

HEX
#ab5ac1
RGB
rgb(171, 90, 193)
HSL
hsl(287.2, 45.4%, 55.5%)
HSV / HSB
hsv(287.2, 53.4%, 75.7%)
CMYK
cmyk(11.4%, 53.4%, 0%, 24.3%)
LAB
lab(51.63, 49.19, -40.4)
LCH
lch(51.63, 63.65, 320.6)
OKLCH
oklch(60.4%, 0.1701, 318.67)
HWB
hwb(287.2, 35.3%, 24.3%)

Harmony colors

Complementary

#70c15a

Analogous

#785ac1
#ab5ac1
#c15aa4

Triadic

#ab5ac1
#c1ab5a
#5ac1ab

Split-complementary

#ab5ac1
#a4c15a
#5ac178

Tetradic

#ab5ac1
#c15a70
#70c15a
#5ac1ab

Square

#ab5ac1
#c1785a
#70c15a
#5aa4c1

Shades

Color #ab5ac1 mixed toward black.

#9540ab
#773489
#592767
#3b1a45
#1e0d22

Tints

Color #ab5ac1 mixed toward white.

#b976cb
#c791d6
#d5ade0
#e3c8ea
#f1e4f5

Tones

Color #ab5ac1 mixed toward gray.

#a663b8
#a16bb0
#9c74a7
#977c9f
#928596

Accessibility

Aa White text on this color
4.23:1
Aa Black text on this color
4.96:1

Black text reads better on this background (4.96:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8f8eaf · ΔE 19.5

Deuteranopia

#9398aa · ΔE 22.8

Tritanopia

#a89f9b · ΔE 30.6

Achromatopsia

#7b7b7b · ΔE 26.4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #ab5ac1;
Tailwind (arbitrary value)
bg-[#ab5ac1]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#ab5ac1 (#ab5ac1) is rgb(171, 90, 193) in RGB.

No, #ab5ac1 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #ab5ac1, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.