Violet #8F00FF

#8F00FFViolet
HEX#8F00FF
RGBrgb(143, 0, 255)
HSLhsl(274, 100%, 50%)
HSVhsv(274, 100%, 100%)
OKLCHoklch(54.8% 0.294 298.8)
OKLABoklab(54.8% 0.142 -0.258)
CMYKcmyk(44%, 100%, 0%, 0%)

Violet (#8F00FF) is a medium, highly saturated purple hue. Violet is the shortest wavelength of visible light, a true spectral colour unlike purple.

In RGB it is made of 143 red, 0 green and 255 blue. Its HSL hue angle is 274° with 100% saturation and 50% lightness, while its perceptual OKLCH lightness is 55% with a chroma of 0.294. For print, a starting CMYK mix is 44% cyan, 100% magenta, 0% yellow and 0% black.

As a text color on white, Violet has a contrast ratio of 5.81:1, which passes WCAG AA for normal text. On black it reaches 3.61:1 and passes AA only for large text. If you use Violet as a background, put white text on it. The APCA lightness contrast is Lc 28 for black text and Lc -82 for white text.

Its perceptual complement is #6A7A00, close to olive. Colors that look most similar are amethyst, royal blue, purple. People with red-green color blindness see violet quite differently (ΔE 18), so do not rely on it alone to signal meaning.

Contrast

Text on white · 5.81:1 AA ✓
Text on black · 3.61:1 Large only
White on Violet · APCA Lc -82
Black on Violet · APCA Lc 28

Shades and tints of violet

Color harmonies

ComplementaryAnalogousSplit complementaryTriadicTetradicMonochromatic

How violet looks with color blindness

Protanopia: #0065FFDeuteranopia: #0063FBTritanopia: #716396Achromatopsia: #656565

Similar colors

Amethyst#9966CCRoyal Blue#4169E1Purple#800080Plum#8E4585Blue#0000FFSapphire#0F52BAAzure#007FFFDenim#1560BD

FAQ

What is the hex code for violet?

The hex code for violet is #8F00FF, which is rgb(143, 0, 255) in RGB.

What text color goes on violet?

White text. Its contrast with violet is 5.81:1.

What color is the complement of violet?

The perceptual (OKLCH) complement of #8F00FF is #6A7A00.

← All named colors