Toolman

#7C3AED color

#7C3AED#7C3AED

The swatch above shows #7C3AED with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#7C3AED is a medium, vivid violet, closest to the CSS named color blueviolet (#8A2BE2).

It is also a Tailwind CSS default: violet-600. That means you can write bg-violet-600 or text-violet-600 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#7C3AED
RGBrgb(124, 58, 237)
HSLhsl(262, 83%, 58%)
CMYKcmyk(48%, 76%, 0%, 7%)
Decimal8141549
CSScolor: #7C3AED;
Android0xFF7C3AED
SwiftUIColor(red: 0.486, green: 0.227, blue: 0.929, alpha: 1)

Accessibility and contrast

White text on #7C3AED5.70:1 — AA pass · AA large pass · AAA fail
Black text on #7C3AED3.69:1 — AA fail · AA large pass · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #7C3AED

Each swatch keeps the hue and saturation of #7C3AED and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #7C3AED

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #7C3AED in code

/* CSS */
.element { color: #7C3AED; background-color: #7C3AED; }
.element { color: rgb(124 58 237); }
.element { color: hsl(262 83% 58%); }

/* Tailwind */
<div class="bg-violet-600 text-white">

/* SCSS variable */
$brand: #7C3AED;

Frequently asked questions

What color is #7C3AED?

#7C3AED is a medium, vivid violet. Its hue sits at 262° on the color wheel, with 83% saturation and 58% lightness.

What is #7C3AED in RGB?

#7C3AED converts to rgb(124, 58, 237) — 124 red, 58 green and 237 blue.

What is #7C3AED in CMYK?

Approximately cmyk(48%, 76%, 0%, 7%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #7C3AED be white or black?

White gives the better contrast ratio (5.70:1 versus 3.69:1).

What is the complementary color of #7C3AED?

#ACED3B — the hue directly opposite #7C3AED on the color wheel.

Convert any color → · Browse all colors