Skip to content
Kolorvia
#8240d9

Color #8240d9

A moderately saturated medium purple.

Conversions

HEX
#8240d9
RGB
rgb(130, 64, 217)
HSL
hsl(265.9, 66.8%, 55.1%)
HSV / HSB
hsv(265.9, 70.5%, 85.1%)
CMYK
cmyk(40.1%, 70.5%, 0%, 14.9%)
LAB
lab(43.39, 58.09, -67.7)
LCH
lch(43.39, 89.21, 310.63)
OKLCH
oklch(53.8%, 0.2197, 298.34)
HWB
hwb(265.9, 25.1%, 14.9%)

Harmony colors

Complementary

#97d940

Analogous

#404ad9
#8240d9
#cf40d9

Triadic

#8240d9
#d98240
#40d982

Split-complementary

#8240d9
#d9cf40
#4ad940

Tetradic

#8240d9
#d94097
#97d940
#40d982

Square

#8240d9
#d9404a
#97d940
#40d9cf

Shades

Color #8240d9 mixed toward black.

#6a27c3
#551f9c
#401775
#2b104e
#150827

Tints

Color #8240d9 mixed toward white.

#9760df
#ac80e6
#c1a0ec
#d5bff2
#eadff9

Tones

Color #8240d9 mixed toward gray.

#844dcc
#865abf
#8766b3
#8973a6
#8b8099

Accessibility

Aa White text on this color
5.7:1
Aa Black text on this color
3.68:1

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

Under color vision deficiencies

Protanopia

#6c6bc2 · ΔE 13.1

Deuteranopia

#6f73bc · ΔE 15.9

Tritanopia

#80ada7 · ΔE 39.3

Achromatopsia

#666666 · ΔE 29.7

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

Code

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

Related colors

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

Frequently asked questions

#8240d9 (#8240d9) is rgb(130, 64, 217) in RGB.

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