Skip to content
Kolorvia
#7f2aaa

Color #7f2aaa

A moderately saturated medium purple.

Conversions

HEX
#7f2aaa
RGB
rgb(127, 42, 170)
HSL
hsl(279.8, 60.4%, 41.6%)
HSV / HSB
hsv(279.8, 75.3%, 66.7%)
CMYK
cmyk(25.3%, 75.3%, 0%, 33.3%)
LAB
lab(36.12, 56.14, -52.04)
LCH
lch(36.12, 76.55, 317.17)
OKLCH
oklch(47.4%, 0.1963, 311.36)
HWB
hwb(279.8, 16.5%, 33.3%)

Harmony colors

Complementary

#55aa2a

Analogous

#3f2aaa
#7f2aaa
#aa2a95

Triadic

#7f2aaa
#aa7f2a
#2aaa7f

Split-complementary

#7f2aaa
#95aa2a
#2aaa3f

Tetradic

#7f2aaa
#aa2a55
#55aa2a
#2aaa7f

Square

#7f2aaa
#aa3f2a
#55aa2a
#2a95aa

Shades

Color #7f2aaa mixed toward black.

#6a238e
#551c71
#401555
#2a0e39
#15071c

Tints

Color #7f2aaa mixed toward white.

#9b38ce
#af60d8
#c388e2
#d7afeb
#ebd7f5

Tones

Color #7f2aaa mixed toward gray.

#7c359f
#783f95
#754a8a
#71557f
#6e5f75

Accessibility

Aa White text on this color
7.46:1
Aa Black text on this color
2.81:1

White text reads better on this background (7.46:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#656497 · ΔE 17.9

Deuteranopia

#696e92 · ΔE 21.5

Tritanopia

#7c8682 · ΔE 33.7

Achromatopsia

#555555 · ΔE 28.2

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

Code

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

Related colors

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

Frequently asked questions

#7f2aaa (#7f2aaa) is rgb(127, 42, 170) in RGB.

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