# Violet color guide

> Violet is #7F00FF (rgb(127, 0, 255)). Pairings, WCAG contrast, harmonies, shades and tints for violet.

Source: https://www.linearity.io/academy/colors/violet/

#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 white 6.28:1 AA

Sample

White text on violet 6.28:1 AA

Sample

Violet text on black 3.35:1 AA Large

Sample

Black text on violet 3.35:1 AA 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](https://www.linearity.io/tools/contrast-checker/).

## Colors that go with violet

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

[White#FFFFFF](https://www.linearity.io/academy/colors/white/)[Charcoal#36454F](https://www.linearity.io/academy/colors/charcoal/)[Mint#98FF98](https://www.linearity.io/academy/colors/mint/)

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

[Purple#800080](https://www.linearity.io/academy/colors/purple/)[Lavender#E6E6FA](https://www.linearity.io/academy/colors/lavender/)[Plum#8E4585](https://www.linearity.io/academy/colors/plum/)[Indigo#4B0082](https://www.linearity.io/academy/colors/indigo/)[Mauve#E0B0FF](https://www.linearity.io/academy/colors/mauve/)[Aubergine#3D0734](https://www.linearity.io/academy/colors/aubergine/)

## Try it now. Turn any idea into a design.

Free to start. No credit card required. [See pricing](https://www.linearity.io/pricing/)

---
From https://www.linearity.io. An index of the site for AI agents is at https://www.linearity.io/llms.txt
