Skip to main content

Violet

#EE82EE·purple family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Violet (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#EE82EE
RGB
rgb(238, 130, 238)
HSL
hsl(300, 76%, 72%)
OKLCH
oklch(0.762 0.186 327)
CMYK
cmyk(0%, 45%, 0%, 7%)
Luminance:0.4032
CSS var:--color-violet
Tailwind:bg-[#EE82EE]

Accessibility

Score: 48/100

On White (#FFF)

2.32:1

Fail

On Black (#000)

9.06:1

AAA

On Light Gray (#F5F5F5)

2.13:1

Fail

Best text color on this background:

black9.06:1
Open in Contrast Checker →

Design Applications

Background

background-color: #EE82EE

Text Color

color: #EE82EE

bg-[#EE82EE] text-[#000000]

Accent border card component

border-left: 4px solid #EE82EE

Color Meaning & Psychology

Violet is the highest-energy visible light color — adjacent to ultraviolet, it carries associations with transformation, spirituality, and the edge of perception. Where purple feels luxurious, violet feels more mystical and electric. It is used by brands that want to feel avant-garde and visionary.

Industry Usage

Common contexts and industries where Violet is applied in professional design.

  • Luxury beauty and cosmetics brands
  • Premium consumer products and packaging
  • Spiritual, wellness, and meditation apps
  • Creative agencies and design studios
  • Entertainment and gaming (magic, fantasy)
  • Anti-aging and prestige skincare
  • Confectionery and indulgence brands
  • Academic institutions emphasizing wisdom

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Fails AA Large

3:1 minimum required

UI Components

Check contrast

3:1 for non-text UI

Violet is a light color. Use black (#000000) text on top of it for maximum readability (9.06:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #EE82EE;

Text

color: #EE82EE;

Border

border: 2px solid #EE82EE;

Box Shadow

box-shadow: 0 4px 20px #EE82EE40;

Gradient

background: linear-gradient(135deg, #EE82EE, #ffb4ff);

Tailwind-style

--color-violet: #EE82EE;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Violet without a custom config.

Background

bg-[#EE82EE]

Text

text-[#EE82EE]

Border

border-[#EE82EE]

Ring

ring-[#EE82EE]

Fill

fill-[#EE82EE]

From (gradient)

from-[#EE82EE]

Via (gradient)

via-[#EE82EE]

To (gradient)

to-[#EE82EE]

Design Tokens

Ready-to-use Violet design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-violet: #EE82EE;
  --color-violet-rgb: 238, 130, 238;
  --color-violet-hsl: 300, 76%, 72%;
}

SCSS Variables

$color-violet: #EE82EE;
$color-violet-rgb: 238, 130, 238;
$color-violet-hsl: 300, 76%, 72%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'violet': '#EE82EE',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-violet: #EE82EE;
}

JSON Design Token (W3C format)

{
  "violet": {
    "value": "#EE82EE",
    "type": "color",
    "description": "Violet — #EE82EE"
  }
}

What Does Violet Mean? Color Psychology & Cultural Symbolism

Purple's psychological power is historical and earned. For most of human civilization, true purple dye was rarer than gold—accessible only to royalty and clergy. Violet (#EE82EE) inherits this heritage, reading as mystery not by accident but by the accumulated weight of thousands of years of cultural association.

  • Across color psychology research, purple consistently tests high for "luxury" associations, making Violet a reliable vehicle for mystery in cross-demographic audiences.
  • Brand designers draw on purple-family tones to project distinction and wisdom—values that Violet communicates in a light key.
  • At 76% saturation, Violet reads as moderately saturated—neither overwhelming nor passive, landing in the luxury, creativity, mystery, and wisdom zone with measured confidence.
  • Violet's light lightness (72%) shifts its psychological register: Lavender and lilac tones soften purple's intensity into a dreamy, romantic, and approachable quality—widely used in beauty, wellness, and feminine lifestyle branding.

Violet earns its place in design the same way it earned it in history: through rarity, confidence, and the willingness to be extraordinary.

How to Use Violet in Design: Applications, Pairings & Best Practices

The design applications of Violet center on premium positioning. Whether in packaging, digital product, or brand identity, it signals that what's inside is worth more attention than the ordinary.

  • Avoid: mainstream corporate environments where it reads as unconventional, food packaging (no natural purple vegetables beyond eggplant and berries), and mass-market consumer products where premium positioning is not intended.
  • Color harmonies: Violet's complementary color creates a high-energy split ideal for promotional design; its analogous palette (±30° hue) builds cohesive, monochromatic sophistication.
  • Proportional use: Violet's moderately saturated saturation (76%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
  • Violet creates strong legibility with black text overlays (9.1:1 contrast ratio), making it a reliable background or surface color in design systems
  • Typography: Violet as text requires a dark background; its 72% lightness means it provides 2.3:1 contrast on white, not meeting WCAG AA.

Violet earns its place in design the same way it earned it in history: through rarity, confidence, and the willingness to be extraordinary.

Violet Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Violet (#EE82EE) achieves a 9.06:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 40.3%.

  • As text on white (#FFFFFF): 2.32:1 — Fail
  • As text on black (#000000): 9.06:1 — AAA ✓
  • Best text color on Violet background: Black (#000000) at 9.06:1
  • WCAG 2.1 luminance: 40.3% — above-median luminance—it reads as a light to mid-tone background, compatible with dark text while retaining color personality
  • Violet qualifies for all text sizes including small body copy (AAA).
  • Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.

Violet's WCAG profile makes it a compliant choice for most text applications.

Violet in Industry: Branding, Design & Market Applications

Across industry research, purple-family tones consistently outperform competitors in categories built on luxury, creativity, mystery, and wisdom. Violet is a light expression of this advantage—best positioned in Beauty & Cosmetics and adjacent markets.

  • Beauty & Cosmetics: Purple is the second most common color in beauty branding, projecting luxury, femininity, and transformative aspiration. It signals that a product is special, premium, and designed for moments of indulgence. (examples: Drunk Elephant, Tatcha, Rare Beauty) Lavender tones work for accessible beauty; deep violet and plum for luxury skincare and perfume.
  • Creative & Agency Services: Creative studios, design agencies, and advertising firms use purple to signal imagination, unconventional thinking, and creative authority. It differentiates them from the blue-dominated corporate world while retaining enough gravitas to command respect. Works best when paired with a strong neutral (black, charcoal, or cream) to prevent it from reading as whimsical.
  • Gaming & Entertainment: Purple dominates gaming, streaming, and digital entertainment branding because it signals the threshold between the ordinary world and an imaginative one. It's the color of portals, magic systems, and premium digital experiences. (examples: Spotify, Netflix, Hulu) Twitch's purple brand has made the color synonymous with live streaming culture—worth considering in adjacent spaces.
  • Brand positioning: Violet is best suited for brands projecting luxury, creativity, imagination. Categories outside this positioning—mainstream corporate environments where it reads as unconventional—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Violet works effectively in premium branding, creative agency identities, beauty packaging—contexts where wisdom serves a secondary but reinforcing role.

Violet earns its strongest ROI in industries where trust and recognition compound over time: Beauty & Cosmetics, Creative & Agency Services, Gaming & Entertainment. Use it to build the kind of brand recognition that decades reinforce.

Frequently Asked Questions

What is the hex code for Violet?
The hex code for Violet is #EE82EE. Its RGB values are rgb(238, 130, 238) and its HSL values are hsl(300, 76%, 72%).
What does Violet mean in design?
Violet is the highest-energy visible light color — adjacent to ultraviolet, it carries associations with transformation, spirituality, and the edge of perception. Where purple feels luxurious, violet feels more mystical and electric. It is used by brands that want to feel avant-garde and visionary.
Is Violet WCAG accessible?
Violet (#EE82EE) does not pass WCAG AA on white (2.32:1 ratio). Use it on dark backgrounds where it achieves 9.06:1. Its overall accessibility score is 48/100.
What colors go well with Violet?
Violet pairs well with its complementary color Green (#008000). Analogous colors like Amethyst and Electric Purple also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Violet used for?
Violet is commonly used for: Luxury beauty and cosmetics brands; Premium consumer products and packaging; Spiritual, wellness, and meditation apps; Creative agencies and design studios; Entertainment and gaming (magic, fantasy).
What are the CSS and Tailwind values for Violet?
In CSS, use `color: #EE82EE` or `background-color: #EE82EE`. The CSS custom property is `--color-violet: #EE82EE`. In Tailwind CSS, use the arbitrary value class `bg-[#EE82EE]` for backgrounds or `text-[#EE82EE]` for text.