Violet (#EE82EE)
The hex code for Violet is #EE82EE. It is rgb(238, 130, 238) in RGB, hsl(300, 76%, 72%) in HSL, and about cmyk(0%, 45%, 0%, 7%) in CMYK — a light pink. Black text is the more readable choice on this background.
#EE82EErgb(238, 130, 238)hsl(300, 76%, 72%)hsv(300, 45%, 93%)cmyk(0%, 45%, 0%, 7%)oklch(76.2% 0.186 327.2)lab(69.62% 53.29 -36.54)lch(69.62% 64.62 325.57)Colors Closest to Violet
Violet is a registered color name, also listed as Lavender Magenta, Violet (Web). These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every pink in the library.
#EE82EE Channel Values
How Violet breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 238 · G 130 · B 238 | 8-bit channels as sent to the display |
| HSL | H 300° · S 76% · L 72% | Easiest model for building lighter and darker variants |
| HSV | H 300° · S 45% · V 93% | Matches the picker in most design tools |
| CMYK | C 0% · M 45% · Y 0% · K 7% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 2.32:1 vs white · 9.06:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Violet background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #EE82EE in the contrast checker.
Colors That Go With Violet
Pairings derived from color-wheel relationships. The complementary color sits opposite Violet; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Violet
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #EE82EE.
How Violet Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#EE82EE#9C9CEE#C292EE#B0B0EC#CC9FED#E49696#E88EBF#AAAAAAUsing #EE82EE in Code
Copy-ready declarations for the places this color usually ends up.
--violet: #EE82EE;background-color: #EE82EE;colors: { 'violet': '#EE82EE' }Color(red: 0.933, green: 0.510, blue: 0.933)<color name="violet">#EE82EE</color>fill="#EE82EE"More Pink Colors
Violet sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.
#EE82EE Frequently Asked Questions
What is the hex code for Violet?
The hex code for Violet is #EE82EE. That is rgb(238, 130, 238) in RGB, hsl(300, 76%, 72%) in HSL, and approximately cmyk(0%, 45%, 0%, 7%) in CMYK.
What is the RGB value of #EE82EE?
#EE82EE is rgb(238, 130, 238) — red 238, green 130, and blue 238 on the 0-255 scale.
What is the CMYK value of #EE82EE?
#EE82EE converts to approximately cmyk(0%, 45%, 0%, 7%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #EE82EE be black or white?
Black text is the more readable choice. #EE82EE scores 2.32:1 against white and 9.06:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Is Violet a CSS named color?
Yes. Violet is one of the CSS named colors, so you can write color: violet instead of the hex code.
Open Violet in a Tool
Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.