Violet Color
Violet is a vivid, light magenta with hex code #EE82EE. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Violet color codes
| HEX | #EE82EE | |
|---|---|---|
| RGB | rgb(238, 130, 238) | |
| HSL | hsl(300, 76%, 72%) | |
| HSV | 300°, 45%, 93% | |
| CMYK | 0%, 45%, 0%, 7% | |
| OKLCH | oklch(76.2% 0.186 327.2) | |
| Tailwind | bg-[#ee82ee] |
Closest Tailwind colour: fuchsia-400 (#E879F9). Convert any colour in the Color Converter.
About Violet
Violet (#EE82EE) is a vivid, light magenta. In the RGB model it is 93% red, 51% green and 93% blue; its hue angle is 300°, with 76% saturation and 72% lightness. For print, the CMYK equivalent is 0% cyan, 45% magenta, 0% yellow and 7% black.
It is a warm colour and appears in our shades of purple. Text on it reads best in black (9.1:1 contrast).
Violet tints and shades
Tints mix violet with white; shades mix it with black. Click to copy.
Colors that go with Violet
Complementary
Analogous
Triadic
Split complementary
Violet contrast
- AA text fail
- AAA text fail
- AA large fail
- AA text pass
- AAA text pass
- AA large pass
Using Violet in CSS
.brand {
color: #ee82ee;
}
.button {
background: #ee82ee;
color: #111;
}
.hero {
background: linear-gradient(135deg, #f4aef4, #ee82ee, #9b559b);
}Similar colors
Gradients with Violet
Violet FAQ
What color is Violet?
Violet is a vivid, light magenta. Its hex code is #EE82EE and it is a warm colour.
What is the hex code for Violet?
The hex code for Violet is #EE82EE. In RGB that is rgb(238, 130, 238), and in HSL hsl(300, 76%, 72%).
What is Violet in CMYK?
Violet is roughly C 0%, M 45%, Y 0%, K 7% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Violet?
Its complementary colour is #81EE81. For a calmer palette use its analogous colours #B881EE and #EE81B8, or tints and shades of Violet itself.
Is white or black text better on Violet?
Black text reads better on Violet: 9.1:1 contrast, against 2.3:1 for white. WCAG asks for 4.5:1 for body text.
