Home /Colors /Violet
Violet#EE82EE

Violet color code is #EE82EE. Use this page to get all code formats, explore shades and tints, and find colors that work with violet.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore Violet

Violet Accessibility & WCAG Contrast

Relative luminance of Violet is 0.4032. Its WCAG contrast ratio is 2.32:1 against white and 9.06:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
Violet on white2.32:1Fail
The quick brown fox
Violet on black9.06:1AAA
The quick brown fox
White on Violet2.32:1Fail
The quick brown fox
Black on Violet9.06:1AAA

Violet — Frequently Asked Questions

What is the hex code for Violet?+
The hex code for Violet is #EE82EE. In RGB it's rgb(238, 130, 238), and in HSL it's hsl(300, 76%, 72%).
What is the RGB value of Violet?+
Violet in RGB is (238, 130, 238). Written in CSS: rgb(238, 130, 238).
What is the CMYK value of Violet?+
Violet converts to CMYK(0%, 45%, 0%, 7%) for print. Hex equivalent is #EE82EE.
Is violet a warm or cool color?+
Violet (#EE82EE) is a transitional magenta — its hue sits at 300° on the color wheel, placing it in the transitional part of the spectrum.
What color family does violet belong to?+
Violet belongs to the magenta family. Its HSL is 300°, 76%, 72% — a transitional tone within the broader magenta group.
Is violet accessible for body text on a white background?+
Violet on white reaches a WCAG contrast ratio of 2.32:1 — below the AA threshold (4.5:1) for normal body text. Reserve for large headings or pair with a darker variant.
What is the closest Pantone match for violet?+
The nearest Pantone match for Violet (#EE82EE) is 224 C Pantone 224 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use Violet in design

Practical guidance for using violet (#EE82EE) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Violet (#EE82EE) works well as a background color in dark UIs or as a button fill paired with white text — at 9.1:1 against black it's AAA-accessible for body text reversed onto it. Don't use it for text on a white background; 2.3:1 contrast won't pass AA.

Branding & identity

As a brand color, Violet (#EE82EE) reads as high-energy and confident and approachable and modern. It fits naturally into fashion, beauty, music, youthful events. Use it as the primary identity color and pair with one neutral (white, off-white, or near-black). Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

Violet flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Pale cool tones flatter most skin types in good light — a safe choice for office wear and weddings.

Interior design

Violet is best used as a single accent wall, ceiling stripe, or feature piece (cabinetry, tile, an upholstered headboard) — at this saturation a full room can feel overwhelming. Pair with crisp white trim and one warm-wood tone to ground the energy.