Skip to content
Kolorvia
#8a5fa8

Color #8a5fa8

A muted medium purple.

Conversions

HEX
#8a5fa8
RGB
rgb(138, 95, 168)
HSL
hsl(275.3, 29.6%, 51.6%)
HSV / HSB
hsv(275.3, 43.5%, 65.9%)
CMYK
cmyk(17.9%, 43.5%, 0%, 34.1%)
LAB
lab(47.51, 31.54, -32.61)
LCH
lch(47.51, 45.37, 314.04)
OKLCH
oklch(56%, 0.1185, 310.21)
HWB
hwb(275.3, 37.3%, 34.1%)

Harmony colors

Complementary

#7da85f

Analogous

#665fa8
#8a5fa8
#a85fa2

Triadic

#8a5fa8
#a88a5f
#5fa88a

Split-complementary

#8a5fa8
#a2a85f
#5fa866

Tetradic

#8a5fa8
#a85f7d
#7da85f
#5fa88a

Square

#8a5fa8
#a8665f
#7da85f
#5fa2a8

Shades

Color #8a5fa8 mixed toward black.

#734d8e
#5c3e72
#452e55
#2e1f39
#170f1c

Tints

Color #8a5fa8 mixed toward white.

#9e7ab7
#b194c5
#c5afd4
#d8cae2
#ece4f1

Tones

Color #8a5fa8 mixed toward gray.

#8965a2
#886b9c
#877196
#867790
#857d8a

Accessibility

Aa White text on this color
4.9:1
Aa Black text on this color
4.28:1

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

Under color vision deficiencies

Protanopia

#7a799a · ΔE 12.9

Deuteranopia

#7c7f97 · ΔE 15.8

Tritanopia

#888e8b · ΔE 26.6

Achromatopsia

#717171 · ΔE 23.6

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

Code

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

Related colors

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

Frequently asked questions

#8a5fa8 (#8a5fa8) is rgb(138, 95, 168) in RGB.

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