PURPLE

Violet

No. 087

#EE82EErgb(238, 130, 238)hsl(300, 76%, 72%)

Violet is #EE82EE, rgb(238, 130, 238).

In CSS: violet

Conversions
HEX#EE82EE
RGBrgb(238, 130, 238)
HSLhsl(300, 76%, 72%)
HSVhsv(300, 45%, 93%)
CMYKcmyk(0%, 45%, 0%, 7%)
Copy CSS
color: #ee82ee; /* rgb */ color: rgb(238, 130, 238); /* hsl */ color: hsl(300, 76%, 72%);
Shades
Tints

Colors that go with Violet

  • Complementary

  • Analogous

  • Triadic

Contrast

1 of 2 backgrounds pass AA

  1. On whiteFail2.32 : 1
  2. 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.

Contrast of common text colors on Violet. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF2.32:1FailFailFail
Ink black #0F0F128.26:1PassPassPass
Mid grey #6B72802.09:1FailFailFail
Dark grey #3741514.45:1FailPassFail
Light grey #E5E7EB1.87:1FailFailFail

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

FormatValue
HEX#EE82EE
RGBrgb(238, 130, 238)
HSLhsl(300, 76%, 72%)
HSVhsv(300, 45%, 93%)
CMYKcmyk(0%, 45%, 0%, 7%)
OKLCHoklch(76.19% 0.1861 327.21)
CIELABlab(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.