Violet color: hex code #8F00FF

#8F00FF rgb(143, 0, 255)
Shades of purple

Violet has the hex code #8F00FF. It is a vivid violet.

In the RGB color model it is made of 56.1% red, 0% green and 100% blue (143, 0, 255).

Its hue angle is 274°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 44% cyan, 100% magenta, 0% yellow and 0% black.

Note that the CSS keyword violet is a different color, #EE82EE.

White text is the more readable choice on this background (contrast 5.81:1).

Violet (#8F00FF) color codes

HEX#8F00FF
RGBrgb(143, 0, 255)
RGB percentrgb(56.1%, 0%, 100%)
HSLhsl(274, 100%, 50%)
HSV / HSBhsv(274, 100%, 100%)
CMYKcmyk(44%, 100%, 0%, 0%)
CIE LABlab(42.85, 84.37, -90.02)
CIE LCHlch(42.85, 123.38, 313.15)
CIE XYZxyz(29.373, 13.059, 95.561)
Decimal9371903
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Violet, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #8F00FFRatioAAAAAAA large
Sample text3.61:1FailFailPass
Sample text5.81:1PassFailPass
#8F00FF as text onRatioAAAAAAA large
Sample text5.81:1PassFailPass
Sample text3.61:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #8F00FF looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8f00ff; }
.text { color: #8f00ff; }
.border { border: 2px solid #8f00ff; }
.transparent { background-color: rgb(143 0 255 / 50%); }
.gradient { background: linear-gradient(to right, #8f00ff, #ff00f0); }
Background
Text color
Border

Similar colors

See #8F00FF on its hex code page

Questions

What color is #8F00FF?
#8F00FF is a vivid violet known as Violet. It belongs to the purple family of colors.
What is the RGB value of Violet?
The RGB value is 143, 0, 255: 143 red, 0 green and 255 blue on a 0 to 255 scale.
What is the complementary color of Violet?
The complementary color is #70FF00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8F00FF?
White text. Black text has a contrast ratio of 3.61:1 and white text 5.81:1. WCAG asks for at least 4.5:1 for normal text.