Violet color: hex code #8F00FF
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 | |
|---|---|---|
| RGB | rgb(143, 0, 255) | |
| RGB percent | rgb(56.1%, 0%, 100%) | |
| HSL | hsl(274, 100%, 50%) | |
| HSV / HSB | hsv(274, 100%, 100%) | |
| CMYK | cmyk(44%, 100%, 0%, 0%) | |
| CIE LAB | lab(42.85, 84.37, -90.02) | |
| CIE LCH | lch(42.85, 123.38, 313.15) | |
| CIE XYZ | xyz(29.373, 13.059, 95.561) | |
| Decimal | 9371903 | |
| Short hex | None (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 #8F00FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.61:1 | Fail | Fail | Pass |
| Sample text | 5.81:1 | Pass | Fail | Pass |
| #8F00FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.81:1 | Pass | Fail | Pass |
| Sample text | 3.61:1 | Fail | Fail | Pass |
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.
#0065ffProtanopia
no red cones#0063fbDeuteranopia
no green cones#716396Tritanopia
no blue cones#656565Achromatopsia
no color vision
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); }
Similar colors
#8800ffPurple Climax#9601f4Cosmic Heart#7f00ffViolent Violet#7f01fePoisoning Purple#9f00ffVivid Violet#8a2be2Blue Violet#6600ffElectric Indigo#9400d3Dark Violet
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.