The last visible color of the rainbow, just before ultraviolet. It's named after the flower. It's associated with creativity and spirituality, and also with the feminist movement.
Violet (#8F00FF) is a cool, mid-tone, highly saturated color. It belongs to the purples family. It mixes 143 red, 0 green and 255 blue (out of 255). It is mostly used in branding, fashion, art.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--violet: #8F00FF;
--violet-rgb: 143, 0, 255;
}
.bg { background-color: var(--violet); }
.text { color: var(--violet); }The hex code for violet is #8F00FF. In RGB it is rgb(143, 0, 255), in HSL hsl(274, 100%, 50%) and in CMYK 44, 100, 0, 0.
Its complement on the color wheel is #70FF00, close to chartreuse. Used in small doses, it works as an accent and adds strong contrast.
Yes. The contrast with white is 5.8:1, enough for body text (WCAG AA).
It pairs well with yellow, gray, white, mint green, pink. Avoid pairing it with intense red or orange, because the look gets heavy. With similar purples and no contrast it looks confusing.