Violet
#EE82EErgb(238, 130, 238)hsl(300, 76%, 72%)
Violet is #EE82EE, rgb(238, 130, 238).
In CSS: violet
Colors that go with Violet
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whiteFail2.32 : 1
- On ink blackPass8.26 : 1
About Violet
Violet is the hex color #EE82EE, which translates to rgb(238, 130, 238) in RGB and hsl(300, 76%, 72%) in HSL. On the color wheel it sits at 300 degrees, with a saturation of 76 percent and a lightness of 72 percent. That combination gives Violet a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Violet compares
Violet is exactly the CSS keyword violet, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is fuchsia-300 (#F4A8FF), at a distance of 17.8. Inside this library the closest neighbour is Orchid at 7.4. Sorted by lightness, Violet is number 26 of the 31 purple colors here.
Text on Violet
One of the five common text colors below clears WCAG AA for normal text on Violet, led by Ink black at 8.26:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Violet already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 2.32:1 | Fail | Fail | Fail |
| Ink black #0F0F12 | 8.26:1 | Pass | Pass | Pass |
| Mid grey #6B7280 | 2.09:1 | Fail | Fail | Fail |
| Dark grey #374151 | 4.45:1 | Fail | Pass | Fail |
| Light grey #E5E7EB | 1.87:1 | Fail | Fail | Fail |
Building a palette around Violet
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Violet for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Violet locked and let it fill in the rest.
Full values for Violet
| Format | Value |
|---|---|
| HEX | #EE82EE |
| RGB | rgb(238, 130, 238) |
| HSL | hsl(300, 76%, 72%) |
| HSV | hsv(300, 45%, 93%) |
| CMYK | cmyk(0%, 45%, 0%, 7%) |
| OKLCH | oklch(76.19% 0.1861 327.21) |
| CIELAB | lab(69.70 56.36 -36.81) |
Frequently asked questions
What is the RGB value of Violet?
Violet (#EE82EE) is rgb(238, 130, 238): 238 red, 130 green and 238 blue on the 0 to 255 scale. Red and blue share the lead at 238 with green at 130, which puts the hue at 300 degrees. In HSL the same color is hsl(300, 76%, 72%).
What colour is #EE82EE?
#EE82EE is Violet, a light purple colour with a hue of 300 degrees, 76% saturation and 72% lightness. For print the CMYK breakdown is 0% cyan, 45% magenta, 0% yellow and 7% black. Its nearest neighbour in this library is Orchid, 7.4 away in CIELAB, a difference you can see.
Is Violet a CSS color name?
Yes. The keyword violet is one of the 148 named colors in CSS Color Module Level 4, so color: violet; renders exactly #EE82EE.
What colors go with Violet?
Opposite Violet on the color wheel sits the complementary #82EE82, the boldest accent by hue. For a calmer scheme use the analogous neighbours #B882EE and #EE82B8; for a balanced three-color scheme use the triadic pair #EEEE82 and #82EEEE. Of these, #EEEE82 has the most contrast against Violet, at 1.90:1, so pair it by hue, not for legibility.
What text color is readable on Violet?
Ink black (#0F0F12) is the most readable on Violet, at 8.26:1, which also clears WCAG AAA (7:1). 1 of the 5 common text colors tested passes AA for normal text.
Use Violet in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.