Violet — #EE82EE
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Violet values in every format
| CSS name | violet |
|---|---|
| HEX | #EE82EE |
| RGB | rgb(238, 130, 238) |
| RGB % | 93%, 51%, 93% |
| HSL | hsl(300, 76%, 72%) |
| HSV / HSB | 300°, 45%, 93% |
| CMYK (print) | 0%, 45%, 0%, 7% |
| Relative luminance | 0.403 |
| Contrast on black | 9.06 : 1 |
| Contrast on white | 2.32 : 1 |
| Best text colour on it | Black (9.06 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Violet (50–950)
50 #FDF2FD100 #FBE0FB200 #F5B7F5300 #EE81EE400 #E542E5500 #CF1CCF600 #A617A6700 #821282800 #630D63900 #430943950 #280528
The scale keeps Violet's hue (300°) and saturation (76%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Violet
Complementary: #EE82EE#82EE82
Analogous: #B882EE#EE82EE#EE82B8
Triadic: #EE82EE#EEEE82#82EEEE
Split-complementary: #EE82EE#B8EE82#82EEB8
Square: #EE82EE#EEB882#82EE82#82B8EE
Computed by rotating the hue wheel from 300°. Try them live in the Colour Harmony Generator.
Closest named colours
orchid (#DA70D6) · plum (#DDA0DD) · hotpink (#FF69B4)
Using Violet well
Violet sits in the magenta / pink family at 72% lightness — a light, vivid, cool colour. As a background it pairs best with black text (9.06:1 contrast). Its complement (#82EE82) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#B882EE, #EE82B8) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Violet is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Violet?
#EE82EE — the CSS named colour “violet”. Its RGB is (238, 130, 238).
Is Violet good for text or backgrounds?
As a background, black text reads best on it (9.06:1). As text itself on white it reaches 2.32:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Violet?
Its complement #82EE82 for contrast, analogous #B882EE and #EE82B8 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Violet in CMYK for printing?
C0 M45 Y0 K7. CMYK conversions of screen colours are a starting point — always proof before a print run.