Skip to main content

Violet palettes and pairings

HEX

#7F00FF

RGB

127, 0, 255

HSL

270°, 100%, 50%

HSV

270°, 100%, 100%

Violet (#7F00FF) sits near the short-wavelength end of the spectrum — strongly blue-biased, high chroma, and far brighter than #800080 web purple. On RGB displays it can feel laser-like in large fills and separates cleanly from both pure blue and magenta. It is useful for sci-fi UI, music visuals, and any brief that calls for spectral intensity without full magenta punch. Next to HTML purple, violet reads cooler, more ultraviolet, and more "stage lighting" than "ink ribbon."

Best for

Trade show graphics, signage, and booth displays.

Accessibility

Violet text on white passes AA at 6.28:1, which makes it usable for headings and short labels.

Violet color swatch — #7F00FF

How does violet compare to nearby colors?

What is the difference between violet and grape?

Grape (#6F2DA8) carries less pigment punch than Violet (#7F00FF), so the pair separates by finish as much as hue. Violet reads faster on screen, so it changes the palette from steady to attention-seeking more quickly than Grape does. Choose violet when the color needs to register quickly and act like the headline accent; keep grape when the rest of the layout needs a quieter companion.

What color is violet?

Violet as a color term historically referred to flowers (Viola species) and shorter-wavelength hues than everyday "purple." #7F00FF approximates a saturated blue-violet on sRGB monitors, though exact spectral violet cannot be fully reproduced on typical three-primary displays. High-chroma purples are common in LED stage lighting and synthetic dye chemistry.

What is the hex code for violet?

FormatValue
HEX#7F00FF
RGBrgb(127, 0, 255)
HSLhsl(270°, 100%, 50%)
HSV / HSBhsv(270°, 100%, 100%)
CMYK (approx.)cmyk(50%, 100%, 0%, 0%)

Convert Violet to other color formats

Open the color converter with Violet (#7F00FF) prefilled to copy RGB, HSL, HSV, CMYK, or OKLCH values.

Convert Violet in the color converter

What does violet mean in design?

In entertainment interfaces, saturated blue-violets like violet often read as futuristic or high-energy when paired with dark backgrounds and thin geometric lines. They tend to feel less corporate than mid blues and less "sweet" than standard pinks. Against yellow or orange, violet can feel theatrical, so balance matters in brand systems.

How do I use violet in code?

CSS (hex)color: #7F00FF;
CSS (rgb)color: rgb(127, 0, 255);
CSS (hsl)color: hsl(270, 100%, 50%);
RGB %rgb(50%, 0%, 100%)
Tailwindtext-[#7F00FF]
SwiftUIColor(red: 0.498, green: 0.000, blue: 1.000)
UIKitUIColor(red: 0.498, green: 0.000, blue: 1.000, alpha: 1.0)
AndroidColor.rgb(127, 0, 255)
ComposeColor(0xFF7F00FF)
Web Safe#6600FF

Is violet accessible?

CombinationRatioAAAA lgAAAAAA lgUI
AaWhite text on this color6.28:1
AaBlack text on this color3.35:1
AaThis color as text on white6.28:1
AaThis color as text on black3.35:1

WCAG 2.1: AA normal ≥ 4.5:1, AA large text ≥ 3:1, AAA normal ≥ 7:1, AAA large ≥ 4.5:1, UI components ≥ 3:1.

How does violet look with color blindness?

Normal vision#7F00FF
Protanopia (red-blind)#4847C1
Deuteranopia (green-blind)#4F59B3
Tritanopia (blue-blind)#799186
Achromatopsia (total color blindness)#2D2D2D

Simulated appearance for common types of color vision deficiency. Actual perception varies by individual.

What colors go with violet

#36454F
Charcoal

When violet is already bright, charcoal absorbs some of the visual heat and keeps the combination closer to beauty, nightlife, and creative-tech branding than to novelty graphics.

#FFD700
Gold

Gold warms violet enough to keep the palette from feeling chilly or overly technical, while still reading intentional rather than decorative-for-its-own-sake.

#FFFDD0
Cream

Cream takes the hard digital edge off violet and makes the color feel more printed, paper-backed, and approachable.

#C0C0C0
Silver

Silver stays quiet enough to frame violet instead of competing with it, which is useful for text, dividers, and supporting surfaces.

#BCB88A
Sage Green

Sage Green changes the temperature story around violet: violet-blue on its own, more wellness, botanical, and lifestyle palettes once the cooler or warmer partner is introduced.

What colors clash with violet

#39FF14
Neon Green

Neon Green turns violet into something closer to screen glow than surface color, which is a mismatch for most editorial, product, or deck work.

#FF00FF
Magenta

Magenta remaps violet too aggressively, dragging it away from beauty, nightlife, and creative-tech branding and into a brighter, more performative palette.

#FFA500
Orange

With violet, orange creates a warm-cool collision that announces itself before it earns a compositional reason to exist.

#FFFF00
Yellow

Yellow changes the palette around violet into something more highlighter-like than many brands want.

How should I use violet in design?

  • On dark-mode dashboards, use violet for sparklines, focus rings, or active tab underlines where you need a purple that still pops against charcoal-style backgrounds.
  • For concert posters and event graphics, combine violet with deep near-black rather than pure #000000 to reduce color bleeding on home printers.
  • Check accessibility for any small text set in violet — shift toward a slightly lighter tint or use white knockout type with a heavier weight if contrast tools flag failures.

What are good violet palettes?

Fresh canvas

Trade show graphics, signage, and booth displays.

Fireside

Portfolio sites, creative briefs, and lookbooks.

Signal and structure

Trade show graphics, signage, and booth displays.

Design with violet in Moda

Create a presentation or document using violet as your accent color. Moda's AI applies your color palette automatically.

Create a design with violet

What are the shades and tints of violet?

Shades (darker)

Tints (lighter)

Tones (desaturated)

Hue variations

What are the color harmonies for violet?

Harmonies are calculated from the base swatch. When a harmony matches a named color page, it links there; otherwise it appears here as a computed reference swatch.

Complementary
Green#80FF00Computed
Triadic
Orange#FF8000ComputedCyan#00FF80Computed
Split-complementary
Yellow#FFFF00Green#00FF00Computed
Monochromatic
Dark Purple#330066ComputedPurple#6600CCComputedPurple#9933FFComputedLight Purple#CC99FFComputed
Square
Red#FF0000Green#80FF00ComputedCyan#00FFFF

Frequently asked questions

What is the hex code for violet?

The hex code for violet is #7F00FF. In RGB, that's 127 red, 0 green, and 255 blue. The approximate CMYK equivalent is 50% cyan, 100% magenta, 0% yellow, and 0% key (black).

Is violet a warm or cool color?

Violet sits near the center of the temperature scale but tips cool, which gives you room to steer the palette warmer or cooler with the surrounding accents.

Is violet better as an accent or a full-palette color?

Violet is usually best when it leads in short bursts rather than covering everything. It can headline a palette, but most layouts work better when the color handles accents, highlights, or one main hero role instead of every surface.

How should I use violet in a design?

Violet is vivid enough to work best in controlled doses such as CTAs, highlighted metrics, chart accents, or a single hero element. Surround it with quieter neutrals so it does not exhaust the layout.

Can I use violet for text or backgrounds?

Violet can work as text on white at 6.28:1 contrast, but it is usually safest in headings, labels, and accent moments rather than long body copy.

Last updated April 6, 2026

Color values are computed from the listed hex code using standard conversion formulas. RGB, HSL, and HSV are exact screen-ready conversions. CMYK is an approximate on-screen reference, not a press-ready print specification. Pairings, palettes, and use-case guidance are heuristic recommendations derived from color relationships, contrast behavior, and common presentation, document, and UI patterns.