Skip to content
Kolorvia
#8240c6

Color #8240c6

A moderately saturated medium purple.

Conversions

HEX
#8240c6
RGB
rgb(130, 64, 198)
HSL
hsl(269.6, 54%, 51.4%)
HSV / HSB
hsv(269.6, 67.7%, 77.6%)
CMYK
cmyk(34.3%, 67.7%, 0%, 22.4%)
LAB
lab(41.98, 53.44, -59.03)
LCH
lch(41.98, 79.63, 312.15)
OKLCH
oklch(52.3%, 0.1993, 302.58)
HWB
hwb(269.6, 25.1%, 22.4%)

Harmony colors

Complementary

#84c640

Analogous

#4041c6
#8240c6
#c540c6

Triadic

#8240c6
#c68240
#40c682

Split-complementary

#8240c6
#c6c540
#41c640

Tetradic

#8240c6
#c64084
#84c640
#40c682

Square

#8240c6
#c64041
#84c640
#40c6c5

Shades

Color #8240c6 mixed toward black.

#6c32a8
#572887
#411e65
#2b1443
#160a22

Tints

Color #8240c6 mixed toward white.

#9760cf
#ac80d9
#c1a0e2
#d5bfec
#eadff5

Tones

Color #8240c6 mixed toward gray.

#824bbb
#8256b0
#8362a5
#836d99
#83788e

Accessibility

Aa White text on this color
6:1
Aa Black text on this color
3.5:1

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

Under color vision deficiencies

Protanopia

#6c6bb1 · ΔE 14.1

Deuteranopia

#6f73ac · ΔE 17

Tritanopia

#809e99 · ΔE 35.9

Achromatopsia

#636363 · ΔE 28.6

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

Code

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

Related colors

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

Frequently asked questions

#8240c6 (#8240c6) is rgb(130, 64, 198) in RGB.

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