Home /Colors /#8040BF
#8040BF#8040BF

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

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #8040BF

#8040BF Accessibility & WCAG Contrast

Relative luminance of #8040BF is 0.1202. Its WCAG contrast ratio is 6.17:1 against white and 3.40:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#8040BF on white6.17:1AA
The quick brown fox
#8040BF on black3.40:1AA Large
The quick brown fox
White on #8040BF6.17:1AA
The quick brown fox
Black on #8040BF3.40:1AA Large

#8040BF — Frequently Asked Questions

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

How to use #8040BF in design

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

Web & UI design

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

Branding & identity

As a brand color, #8040BF (#8040BF) 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

#8040BF 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

#8040BF 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 #8040BF

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

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