Violet
Violet is a dark, saturated violet color with the hex code #9A0EEA (hue 278°, saturation 89%, lightness 49%). CSS has a keyword with the same name, violet, but it is a different color (#EE82EE, see Violet (CSS)).
- HEX
#9A0EEA - RGB
rgb(154 14 234) - HSL
hsl(278 89% 49%) - OKLCH
oklch(54.6% 0.276 306)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Violet | #9A0EEA | 154, 14, 234 | 278°, 89%, 49% | 34, 94, 0, 8 | 54.6% 0.276 306 |
Contrast with white text 5.79:1, with black text 3.62:1 — use white text on Violet.
CSS also has a named color violet, but it is a different color: #EE82EE. In a stylesheet, use #9A0EEA for Violet, not the keyword.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Violet
Move the sliders to make Violet lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#9A0EEA - RGB
rgb(154 14 234) - HSL
hsl(278 89% 49%)
Variations of Violet
Text on Violet
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Violet with color blindness
How Violet appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Violet
Six color schemes built on Violet with classic harmony rules. The complementary scheme pairs it with Becquerel (#4BEC13), the color opposite it on the color wheel.
- Violet Complementary Color Scheme#9A0EEA#AA55EE#4BEC13#4DA409#9AF764
- Violet Analogous Color Scheme#1D5DEC#3311EE#9A0EEA#ED0DD9#E30B5D
- Violet Triadic Color Scheme#9A0EEA#E99A10#12E193#C071FE#A06814
- Violet Split-complementary Color Scheme#9A0EEA#CAE80A#16F12D#6611AA#DFFF4F
- Violet Tetradic Color Scheme#9A0EEA#EE3311#4BEC13#00CCEE#C071FE
- Violet Monochromatic Color Scheme#340059#6611AA#9A0EEA#AA55EE#D59CFC
Nearest CSS named colors
- Blue Violet (
blueviolet): Blue Violet (#8A2BE2) is about as light as Violet (relative luminance 0.126 vs 0.131) and less saturated, with its hue 7° away. - Dark Violet (
darkviolet): Dark Violet (#9400D3) is darker than Violet (relative luminance 0.110 vs 0.131) and more saturated, with its hue 4° away. - Dark Orchid (
darkorchid): Dark Orchid (#9932CC) is about as light as Violet (relative luminance 0.134 vs 0.131) and less saturated, with the same hue. - Medium Orchid (
mediumorchid): Medium Orchid (#BA55D3) is lighter than Violet (relative luminance 0.216 vs 0.131) and less saturated, with its hue 10° away.
Gradients with Violet
Similar medium purple colors
- Berry Jam#655883
- Busty Blue#3300CC
- Cosmic Heart#9601F4
- Crown Jewels#946DAD
- Dreamscape Purple#9632CE
- Electric Indigo#6600FF
- Flirtatious Flamingo#CC22FF
- Fuchsia Pheromone#9F4CB7
- Grapes of Italy#714A8B
- Hokkaido Lavender#7736D9
- Lavish Spending#8469BC
- Lilac Spring#8822CC
- Lords of the Night#664488
- Lusty Lavender#8D5EB7
- Magenta Affair#AA44DD
- Neon Purple#BC13FE
- Ninja Princess#75528B
- Nymph’s Delight#7B6C8E
Questions
What is the hex code for Violet?
#9A0EEA — RGB 154, 14, 234, HSL 278°, 89%, 49%.
Is Violet a warm or cool color?
Cool — its hue sits at 278° on the color wheel.