Home /Colors /#7940BF
#7940BF#7940BF

#7940BF color code is #7940BF. Use this page to get all code formats, explore shades and tints, and find colors that work with #7940bf.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #7940BF

#7940BF Accessibility & WCAG Contrast

Relative luminance of #7940BF is 0.1149. Its WCAG contrast ratio is 6.37:1 against white and 3.30:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#7940BF on white6.37:1AA
The quick brown fox
#7940BF on black3.30:1AA Large
The quick brown fox
White on #7940BF6.37:1AA
The quick brown fox
Black on #7940BF3.30:1AA Large

#7940BF — Frequently Asked Questions

What is the hex code for #7940BF?+
The hex code for #7940BF is #7940BF. In RGB it's rgb(121, 64, 191), and in HSL it's hsl(267, 50%, 50%).
What is the RGB value of #7940BF?+
#7940BF in RGB is (121, 64, 191). Written in CSS: rgb(121, 64, 191).
What is the CMYK value of #7940BF?+
#7940BF converts to CMYK(37%, 66%, 0%, 25%) for print. Hex equivalent is #7940BF.
Is #7940bf a warm or cool color?+
#7940BF (#7940BF) is a cool purple — its hue sits at 267° on the color wheel, placing it in the cool part of the spectrum.
What color family does #7940bf belong to?+
#7940BF belongs to the purple family. Its HSL is 267°, 50%, 50% — a cool tone within the broader purple group.
Is #7940bf accessible for body text on a white background?+
#7940BF on white reaches a WCAG contrast ratio of 6.37:1 — passes WCAG AA for body text on white.
What is the closest Pantone match for #7940bf?+
The nearest Pantone match for #7940BF (#7940BF) is 4214 C Amethyst Gem, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #7940BF in design

Practical guidance for using #7940bf (#7940BF) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #7940BF (#7940BF) as primary text or icon color on white backgrounds — at 6.4:1 contrast it passes WCAG AA for body copy. Avoid placing #7940bf text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #7940BF (#7940BF) reads as balanced and approachable and versatile across product tiers. It fits naturally into luxury, beauty, creative, premium subscription products. Pair it with a higher-contrast accent (warm if purple runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#7940BF flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#7940BF works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.

Brands that use #7940BF

Major brands whose official palette contains a color within ~30 RGB units of #7940bf (#7940BF). Click through for the full brand color guide.

GitHub#6E40C9 · GitHub PurpleInstagram#833AB4 · Instagram Purple