Skip to content
Kolorvia
#7f38c3

Color #7f38c3

A moderately saturated medium purple.

Conversions

HEX
#7f38c3
RGB
rgb(127, 56, 195)
HSL
hsl(270.6, 55.4%, 49.2%)
HSV / HSB
hsv(270.6, 71.3%, 76.5%)
CMYK
cmyk(34.9%, 71.3%, 0%, 23.5%)
LAB
lab(40.05, 55.88, -60.43)
LCH
lch(40.05, 82.31, 312.76)
OKLCH
oklch(50.8%, 0.2052, 303.01)
HWB
hwb(270.6, 22%, 23.5%)

Harmony colors

Complementary

#7cc338

Analogous

#3938c3
#7f38c3
#c338c2

Triadic

#7f38c3
#c37f38
#38c37f

Split-complementary

#7f38c3
#c2c338
#38c339

Tetradic

#7f38c3
#c3387c
#7cc338
#38c37f

Square

#7f38c3
#c33938
#7cc338
#38c2c3

Shades

Color #7f38c3 mixed toward black.

#6a2fa2
#552582
#3f1c61
#2a1341
#150920

Tints

Color #7f38c3 mixed toward white.

#9457cf
#aa79d8
#bf9ae2
#d4bcec
#eaddf5

Tones

Color #7f38c3 mixed toward gray.

#7f44b7
#7e4fac
#7e5ba0
#7e6695
#7e7289

Accessibility

Aa White text on this color
6.45:1
Aa Black text on this color
3.26:1

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

Under color vision deficiencies

Protanopia

#6867ae · ΔE 14.7

Deuteranopia

#6b6fa8 · ΔE 17.6

Tritanopia

#7d9b96 · ΔE 36.6

Achromatopsia

#5e5e5e · ΔE 28.9

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

Code

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

Related colors

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

Frequently asked questions

#7f38c3 (#7f38c3) is rgb(127, 56, 195) in RGB.

No, #7f38c3 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #7f38c3, 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.