Skip to content
Kolorvia
#ab40d9

Color #ab40d9

A moderately saturated medium purple.

Conversions

HEX
#ab40d9
RGB
rgb(171, 64, 217)
HSL
hsl(282, 66.8%, 55.1%)
HSV / HSB
hsv(282, 70.5%, 85.1%)
CMYK
cmyk(21.2%, 70.5%, 0%, 14.9%)
LAB
lab(48.68, 65.94, -58.88)
LCH
lch(48.68, 88.4, 318.24)
OKLCH
oklch(58.7%, 0.2295, 313.64)
HWB
hwb(282, 25.1%, 14.9%)

Harmony colors

Complementary

#6ed940

Analogous

#5f40d9
#ab40d9
#d940ba

Triadic

#ab40d9
#d9ab40
#40d9ab

Split-complementary

#ab40d9
#bad940
#40d95f

Tetradic

#ab40d9
#d9406e
#6ed940
#40d9ab

Square

#ab40d9
#d95f40
#6ed940
#40bad9

Shades

Color #ab40d9 mixed toward black.

#9427c3
#771f9c
#591775
#3b104e
#1e0827

Tints

Color #ab40d9 mixed toward white.

#b960df
#c780e6
#d5a0ec
#e3bff2
#f1dff9

Tones

Color #ab40d9 mixed toward gray.

#a64dcc
#a15abf
#9c66b3
#9773a6
#928099

Accessibility

Aa White text on this color
4.7:1
Aa Black text on this color
4.47:1

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

Under color vision deficiencies

Protanopia

#8a89c2 · ΔE 21

Deuteranopia

#8f95bc · ΔE 24.9

Tritanopia

#a8ada7 · ΔE 37.4

Achromatopsia

#747474 · ΔE 29.6

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

Code

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

Related colors

Dark Violet #9400d3
Dark Orchid #9932cc
Medium Orchid #ba55d3
Indigo #4b0082
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#ab40d9 (#ab40d9) is rgb(171, 64, 217) in RGB.

No, #ab40d9 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 #ab40d9, 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.