Violet Color (#EE82EE)

#EE82EErgb(238, 130, 238)

Violet is a CSS named color defined as hex code #EE82EE. CSS violet is a light, bright pinkish purple: the red and blue channels are high and green is lifted to about half. It is not the deep blue-violet of the spectrum.

Color Overview & Formats

CSS: violetLuminance: 0.4032
HEX
#EE82EE
RGB
rgb(238, 130, 238)
HSL
hsl(300, 76%, 72%)
Violet (#EE82EE) Color Format Conversions
FormatSyntax / ValuesNotesAction
HEX#EE82EE6-digit hex web code
RGBrgb(238, 130, 238)Red, Green, Blue channels (0-255)
HSLhsl(300, 76%, 72%)Hue (300°), Saturation (76%), Lightness (72%)
HSV / HSBhsv(300, 45%, 93%)Hue, Saturation (45%), Value/Brightness (93%)
CMYKcmyk(0%, 45%, 0%, 7%)Digital mathematical approximation (non-print)
OKLCHoklch(0.762 0.186 327.2)Perceptually uniform color space (CSS Color 4 approximation)
CSS Implementation & Quick Steps
background-color: #EE82EE; /* or violet */
  1. Select color format: Choose the desired format (HEX #EE82EE, RGB, or HSL).
  2. Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
  3. Pair with black text: Black text on Violet reaches 9.06:1 (WCAG AAA).

What Colors Go With Violet?

These 6 colors all go well with Violet (#EE82EE), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Violet: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.

Black

#000000
9.06:1Text-safe

Strong, readable text on violet.

Navy

#000080
6.91:1Text-safe

A deep blue that gives readable text and a crisp contrast.

Indigo

#4B0082
5.59:1Text-safe

A dark tonal violet for headings and outlines.

Purple

#800080
4.07:1Background / accent

A darker tonal purple for depth.

3.85:1Background / accent

A dark neutral for a modern, restrained look.

White

#FFFFFF
2.32:1Background / accent

Clean space around violet blocks; not for text on violet.

Harmonious Palettes & Tints

The palettes below are algorithmically generated across standard intervals based on Violet (HSL 300°). Each group offers full palette copy and live preview:

Complementary Harmony

Hue rotated 180 degrees on the HSL wheel (300° to 120°), keeping the original saturation and lightness.

Violet
#EE82EE
Complement (120°)
#82EE82
Live UI Component Mockup
Component Header SampleBlack text on Violet: 9.06:1 (WCAG AAA).
Button style preview

Analogous Harmony

Hues 30 degrees either side (270° and 330°), keeping the original saturation and lightness.

Analogous (270°)
#B882EE
Violet
#EE82EE
Analogous (330°)
#EE82B8
Live UI Component Mockup
Component Header SampleBlack text on Violet: 9.06:1 (WCAG AAA).
Button style preview

Triadic Harmony

Hues spaced evenly by 120 degrees (60° and 180°), keeping the original saturation and lightness.

Violet
#EE82EE
Triadic (60°)
#EEEE82
Triadic (180°)
#82EEEE
Live UI Component Mockup
Component Header SampleBlack text on Violet: 9.06:1 (WCAG AAA).
Button style preview

Tints & Shades

Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.

Tint 60%
#F8CDF8
Tint 30%
#F3A8F3
Violet
#EE82EE
Shade 30%
#A75BA7
Shade 60%
#5F345F
Live UI Component Mockup
Component Header SampleBlack text on Violet: 9.06:1 (WCAG AAA).
Button style preview

WCAG 2.2 Text Readability & Contrast Check

Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:

Text Contrast Ratios on Violet (#EE82EE)
Foreground ColorContrast RatioNormal Text (AA)Large Text (AA)Normal Text AAA (>= 7.0:1)
Pure Black (#000000)
9.06:1PassPassPass
Pure White (#FFFFFF)
2.32:1FailFailFail
Dark Charcoal (#212529)
6.66:1PassPassFail
Mid Gray (#666666)
2.48:1FailFailFail

Interactive Contrast Tester

Enter text foreground and background colors to verify WCAG legibility:

Calculated Ratio:
9.06:1
Normal: Pass AAALarge: Pass AAA
Large Heading Sample (18pt Bold)

This is sample body text rendered directly to verify contrast and readability.

Violet Background Download

Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:

Violet 1920x1080 solid color background wallpaper previewStandard Wallpaper: 1920x1080 PNG (#EE82EE)

Download Options

All wallpaper files precisely match the W3C standard color value:

Download 1920x1080 PNG

CSS Standard & Usage Notes

violet = #ee82ee (rgb(238, 130, 238))
W3C CSS Color 4

UI Design & Accessibility Guidelines

Use it for playful accents, highlights, illustrations and backgrounds behind dark text. On Violet, black text passes WCAG AAA at every size (9.06:1); white text fails even for large text (2.32:1).

Published: · Modified: · Editorial: SwatchAtlas Editorial Team

Frequently Asked Questions (FAQ)

Can I use black text on Violet?

Yes. Black text on Violet has a WCAG 2.2 contrast ratio of 9.06:1, passing both AA (4.5:1) and AAA (7:1) at every text size.

Can I use white text on Violet?

No. White text on Violet has a WCAG 2.2 contrast ratio of only 2.32:1, below the 3:1 minimum even for large text.

What colors go with Violet?

Black, Navy, Indigo, Purple, Dark Slate Gray and White all go well with Violet. Black (9.06:1), Navy (6.91:1) and Indigo (5.59:1) have enough contrast for text on Violet; Purple, Dark Slate Gray and White work better as a background or accent.

Is violet the same as purple?

Not in CSS. Violet (#EE82EE) and purple (#800080) share the same hue of 300°, but violet is much lighter and brighter while purple is dark.