Named color

Violet

Violet is a vibrant pink color with HEX #EE82EE. According to Colors Encyclopedia, it has RGB 238, 130, 238, HSL 300, 76%, 72%, warm temperature, and is useful for web design, CSS color systems, and UI prototyping.

HEX #EE82EE
RGB rgb(238, 130, 238)
HSL hsl(300 76% 72%)
CMYK cmyk(0, 45, 0, 7)
Luminance 0.4032
Contrast Black 9.06:1White 2.32:1

CSS Utilities

--color-violet: #EE82EE;
.bg-violet { background-color: #EE82EE; }
.text-violet { color: #EE82EE; }

Machine-readable data

Machine-Readable Color Data (JSON)

Perfect for CSS, design systems, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.4032
Black text9.06:1AA Pass
White text2.32:1AA Fail
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{
  "hex": "#EE82EE",
  "rgb": [
    238,
    130,
    238
  ],
  "hsl": [
    300,
    76,
    72
  ],
  "cmyk": [
    0,
    45,
    0,
    7
  ],
  "luminance": 0.4032,
  "contrast": {
    "black": 9.06,
    "white": 2.32
  }
}
WCAG
{
  "AA": [
    "#000000",
    "#1A1A1A"
  ],
  "AAA": [
    "#000000",
    "#1A1A1A"
  ]
}
Harmonies
{
  "complementary": "#81EE81",
  "analogous": [
    "#B881EE",
    "#EE81B8"
  ],
  "triadic": [
    "#EEEE81",
    "#81EEEE"
  ],
  "tetradic": [
    "#EEB881",
    "#81EE81",
    "#81B8EE"
  ],
  "splitComplementary": [
    "#B8EE81",
    "#81EEB8"
  ],
  "monochromatic": [
    "#F9D2F9",
    "#EE82EE",
    "#E331E3"
  ]
}
Variants
{
  "light": "#F9D2F9",
  "dark": "#E331E3",
  "saturated": "#FE72FE",
  "desaturated": "#DE91DE",
  "pastel": "#FCF3FC",
  "neon": "#FF99FF"
}
Pairings
{
  "best": [
    "#000000",
    "#81EE81",
    "#B881EE",
    "#EE81B8"
  ],
  "avoid": [
    "#DE91DE",
    "#F9D2F9"
  ],
  "neutral": [
    "#1A1A1A",
    "#F5F5F5",
    "#E8E8E4"
  ],
  "highContrast": [
    "#000000"
  ],
  "lowContrast": [
    "#F9D2F9",
    "#DE91DE"
  ]
}
Knowledge graph
{
  "nearestColors": [
    "orchid",
    "plum",
    "wisteria",
    "mauve",
    "kunzite"
  ],
  "generatedPalettes": [
    "violet"
  ],
  "generatedComparisons": [
    "orchid-vs-violet",
    "violet-vs-plum"
  ],
  "relatedFamilies": [
    "/colors/by-family/pink",
    "/colors/by-temperature/warm",
    "/colors/by-tone/vibrant"
  ],
  "relatedTools": [
    "/harmonies/violet",
    "/wcag/violet",
    "/css/colors/violet",
    "/hex/ee82ee"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/pink",
      "/colors/by-temperature/warm",
      "/colors/by-tone/vibrant"
    ],
    "narrower": [
      "/palettes/violet"
    ],
    "related": [
      "/colors/orchid",
      "/colors/plum",
      "/colors/wisteria",
      "/colors/mauve",
      "/colors/kunzite",
      "/compare/orchid-vs-violet",
      "/compare/violet-vs-plum",
      "/harmonies/violet",
      "/wcag/violet",
      "/css/colors/violet",
      "/hex/ee82ee"
    ]
  }
}
Full JSON dataset
{
  "slug": "violet",
  "name": "Violet",
  "cssName": "violet",
  "hex": "#EE82EE",
  "family": "pink",
  "temperature": "warm",
  "tone": [
    "vibrant"
  ],
  "uses": [
    "web design",
    "CSS color systems",
    "UI prototyping"
  ],
  "psychology": {
    "associations": [
      "context dependent"
    ],
    "contexts": [
      "web interfaces",
      "design systems",
      "technical color references"
    ],
    "avoidIn": [
      "claims that require brand or cultural specificity"
    ]
  },
  "aliases": [
    "violet"
  ],
  "sourceType": "standard",
  "confidence": "high",
  "sourceUrl": "https://www.w3.org/TR/css-color-4/#named-colors",
  "origin": {
    "type": "css",
    "notes": "Standard CSS named color."
  },
  "reviewStatus": "auto",
  "editorialNotes": "Generated from CSS named color data and computed color-system properties.",
  "tags": [
    "pink",
    "warm",
    "vibrant",
    "web-design",
    "css-color-systems",
    "ui-prototyping",
    "context-dependent"
  ],
  "popularity": 67,
  "rgb": [
    238,
    130,
    238
  ],
  "hsl": [
    300,
    76,
    72
  ],
  "cmyk": [
    0,
    45,
    0,
    7
  ],
  "luminance": 0.4032,
  "contrast": {
    "black": 9.06,
    "white": 2.32
  },
  "harmonies": {
    "complementary": "#81EE81",
    "analogous": [
      "#B881EE",
      "#EE81B8"
    ],
    "triadic": [
      "#EEEE81",
      "#81EEEE"
    ],
    "tetradic": [
      "#EEB881",
      "#81EE81",
      "#81B8EE"
    ],
    "splitComplementary": [
      "#B8EE81",
      "#81EEB8"
    ],
    "monochromatic": [
      "#F9D2F9",
      "#EE82EE",
      "#E331E3"
    ]
  },
  "variants": {
    "light": "#F9D2F9",
    "dark": "#E331E3",
    "saturated": "#FE72FE",
    "desaturated": "#DE91DE",
    "pastel": "#FCF3FC",
    "neon": "#FF99FF"
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A"
    ]
  },
  "css": {
    "variable": "--color-violet: #EE82EE;",
    "utility": ".bg-violet { background-color: #EE82EE; }",
    "textUtility": ".text-violet { color: #EE82EE; }"
  },
  "nearestColors": [
    "orchid",
    "plum",
    "wisteria",
    "mauve",
    "kunzite"
  ],
  "generatedPalettes": [
    "violet"
  ],
  "generatedComparisons": [
    "orchid-vs-violet",
    "violet-vs-plum"
  ],
  "relatedFamilies": [
    "/colors/by-family/pink",
    "/colors/by-temperature/warm",
    "/colors/by-tone/vibrant"
  ],
  "relatedTools": [
    "/harmonies/violet",
    "/wcag/violet",
    "/css/colors/violet",
    "/hex/ee82ee"
  ],
  "semanticRelations": {
    "broader": [
      "/colors/by-family/pink",
      "/colors/by-temperature/warm",
      "/colors/by-tone/vibrant"
    ],
    "narrower": [
      "/palettes/violet"
    ],
    "related": [
      "/colors/orchid",
      "/colors/plum",
      "/colors/wisteria",
      "/colors/mauve",
      "/colors/kunzite",
      "/compare/orchid-vs-violet",
      "/compare/violet-vs-plum",
      "/harmonies/violet",
      "/wcag/violet",
      "/css/colors/violet",
      "/hex/ee82ee"
    ]
  },
  "pairings": {
    "best": [
      "#000000",
      "#81EE81",
      "#B881EE",
      "#EE81B8"
    ],
    "avoid": [
      "#DE91DE",
      "#F9D2F9"
    ],
    "neutral": [
      "#1A1A1A",
      "#F5F5F5",
      "#E8E8E4"
    ],
    "highContrast": [
      "#000000"
    ],
    "lowContrast": [
      "#F9D2F9",
      "#DE91DE"
    ]
  }
}

Color meaning and use

About Violet Color

Violet sits in the pink family with warm temperature and vibrant visual character. Standard CSS named color.

Its common associations include context dependent, which makes it relevant for web interfaces and design systems. In design work, Violet is most useful for web design, css color systems, and ui prototyping, especially when paired with black text for stronger contrast.

WCAG Accessibility

Contrast checks for Violet against black and white text.

Black text9.06:1AA Pass
White text2.32:1AA Fail
AA text options#000000, #1A1A1A
AAA text options#000000, #1A1A1A

Similar Colors

Color Harmonies

#81EE81#81EE81
#B881EE#B881EE
#EE81B8#EE81B8
#EEEE81#EEEE81
#81EEEE#81EEEE

Variants

#F9D2F9#F9D2F9
#E331E3#E331E3
#FE72FE#FE72FE
#DE91DE#DE91DE
#FCF3FC#FCF3FC
#FF99FF#FF99FF

Pairings

Black#000000
#81EE81#81EE81
#B881EE#B881EE
#EE81B8#EE81B8
Matte Black#1A1A1A
White Smoke#F5F5F5