Violet color guide

#7F00FF
HEX
#7F00FF
RGB
rgb(127, 0, 255)
HSL
hsl(270, 100%, 50%)
CMYK
cmyk(50%, 100%, 0%, 0%)

Electric and blue-leaning, this is the purple that reads as software and AI. Very bright on screen, and it fringes badly against pure red.

Best for
Tech brands wanting energy without using blue.

Accessibility

Sample
Violet text on white6.28:1AA
Sample
White text on violet6.28:1AA
Sample
Violet text on black3.35:1AA Large
Sample
Black text on violet3.35:1AA Large

Ratios follow WCAG 2.1. AA needs 4.5:1 for body text, AAA needs 7:1; large text passes AA at 3:1. To test violet against any other color, use the color contrast checker.

Colors that go with violet

Combinations that hold up in a real layout rather than only on the colour wheel.

Violet color harmonies

Complementary
The opposite hue — highest contrast, best used sparingly.
#7F00FF #80FF00
Analogous
Neighbouring hues that sit together calmly.
#0000FF #7F00FF #FF00FF
Triadic
Three evenly spaced hues — vivid but balanced.
#7F00FF #FF8000 #00FF80
Split complementary
Softer than complementary, with the same tension.
#7F00FF #FFFF00 #00FF00

Violet shades and tints

The same hue and saturation across ten lightness steps — the basis of a usable colour ramp in a design system.

#F2E5FF#D9B3FF#BF80FF#A64DFF#8C1AFF#7300E6#5900B3#400080#26004D#140029

Violet FAQ

What is the hex code for violet?

Violet is #7F00FF. In other formats that is rgb(127, 0, 255), hsl(270, 100%, 50%), and approximately cmyk(50%, 100%, 0%, 0%) for print.

What colors go with violet?

White, Charcoal, Mint all pair well with violet. Tech brands wanting energy without using blue.

Is violet accessible for text?

Yes — violet text on white reaches 6.28:1, which passes WCAG AA for body text.

Should text on violet be black or white?

Use white text. It gives the higher contrast ratio of the two against #7F00FF.

More purple colors

Try it now. Turn any idea into a design.

Free to start. No credit card required. See pricing