Spectral Violet Color
Spectral Violet is a vivid, medium purple with hex code #7F00FF. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Spectral Violet color codes
| HEX | #7F00FF | |
|---|---|---|
| RGB | rgb(127, 0, 255) | |
| HSL | hsl(270, 100%, 50%) | |
| HSV | 270°, 100%, 100% | |
| CMYK | 50%, 100%, 0%, 0% | |
| OKLCH | oklch(52.9% 0.293 293.6) | |
| Tailwind | bg-[#7f00ff] |
Closest Tailwind colour: violet-600 (#7C3AED). Convert any colour in the Color Converter.
About Spectral Violet
Spectral Violet (#7F00FF) is a vivid, medium purple. In the RGB model it is 50% red, 0% green and 100% blue; its hue angle is 270°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 50% cyan, 100% magenta, 0% yellow and 0% black.
It is a cool colour and appears in our shades of purple. Text on it reads best in white (6.3:1 contrast).
Spectral Violet tints and shades
Tints mix spectral violet with white; shades mix it with black. Click to copy.
Colors that go with Spectral Violet
Complementary
Analogous
Triadic
Split complementary
Spectral Violet contrast
- AA text pass
- AAA text fail
- AA large pass
- AA text fail
- AAA text fail
- AA large pass
Using Spectral Violet in CSS
.brand {
color: #7f00ff;
}
.button {
background: #7f00ff;
color: #fff;
}
.hero {
background: linear-gradient(135deg, #ac59ff, #7f00ff, #5300a6);
}Similar colors
Gradients with Spectral Violet
Spectral Violet FAQ
What color is Spectral Violet?
Spectral Violet is a vivid, medium purple. Its hex code is #7F00FF and it is a cool colour.
What is the hex code for Spectral Violet?
The hex code for Spectral Violet is #7F00FF. In RGB that is rgb(127, 0, 255), and in HSL hsl(270, 100%, 50%).
What is Spectral Violet in CMYK?
Spectral Violet is roughly C 50%, M 100%, Y 0%, K 0% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Spectral Violet?
Its complementary colour is #80FF00. For a calmer palette use its analogous colours #0000FF and #FF00FF, or tints and shades of Spectral Violet itself.
Is white or black text better on Spectral Violet?
White text reads better on Spectral Violet: 6.3:1 contrast, against 3.3:1 for black. WCAG asks for 4.5:1 for body text.
