Violet
violet · #EE82EE
HEX
#EE82EE
RGB
rgb(238, 130, 238)
CMYK
cmyk(0%, 45%, 0%, 7%)
HSL
hsl(300, 76%, 72%)
LAB
lab(69.7, 56.4, -36.8)
What is Violet?
Violet is the violet reference in the CSS Named Colors. Its sRGB value is #EE82EE (rgb 238, 130, 238). It sits in the pink family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Violet as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Violet
An 11-step tonal scale derived from Violet (#EE82EE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FEF5FE
#FEF5FE
100
#FCEBFC
#FCEBFC
200
#FAD7FA
#FAD7FA
300
#F7C1F7
#F7C1F7
400
#F2A1F2
#F2A1F2
500
#EE82EE
#EE82EE
600
#CA6FCA
#CA6FCA
700
#9B559B
#9B559B
800
#6B3B6B
#6B3B6B
900
#3C213C
#3C213C
950
#1D101D
#1D101D
Lighter tints (mixed with white)
15%
#F19EF1
30%
#F3B4F3
45%
#F6C7F6
60%
#F8D8F8
75%
#FBE8FB
Darker shades (mixed with black)
15%
#DD79DD
30%
#CB6ECB
45%
#B662B6
60%
#9E549E
75%
#7F437F
Color harmonies for Violet
Classic color-theory harmonies derived from rotating the hue of Violet. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#EE82EE
#EE82EE
#81EE81
#81EE81
Triadic
Three colors 120° apart
#EE82EE
#EE82EE
#EEEE81
#EEEE81
#81EEEE
#81EEEE
Analogous
Two neighbors ±30° on the wheel
#B881EE
#B881EE
#EE82EE
#EE82EE
#EE81B8
#EE81B8
Split-complementary
Base + two colors flanking its complement
#EE82EE
#EE82EE
#B8EE81
#B8EE81
#81EEB8
#81EEB8
Tetradic
Two complementary pairs
#EE82EE
#EE82EE
#EE8181
#EE8181
#81EE81
#81EE81
#81EEEE
#81EEEE
Square
Four colors evenly spaced 90° apart
#EE82EE
#EE82EE
#EEB881
#EEB881
#81EE81
#81EE81
#81B8EE
#81B8EE
Violet in every color space
Full conversion of Violet across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#EE82EE
RGB
rgb(238, 130, 238)
CMYK
cmyk(0%, 45%, 0%, 7%)
HSL
hsl(300, 76%, 72%)
HSV
hsv(300, 45%, 93%)
HWB
hwb(300 51% 7%)
CIE Lab
lab(69.7 56.4 -36.8)
OKLCH
oklch(76.2% 0.186 327.2)
XYZ (D65)
xyz(58.67, 40.32, 85.56)
Copy-ready code for Violet
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #EE82EE;
background-color: #EE82EE;CSS variable
:root {
--color-violet: #EE82EE;
}Tailwind config
// tailwind.config.js
colors: {
'violet': '#EE82EE',
}Sass
$color-violet: #EE82EE;Swift UIColor
UIColor(red: 0.933, green: 0.510, blue: 0.933, alpha: 1.0)Android XML
<color name="violet">#EE82EE</color>Closest match in every color system
The nearest Violet equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in CSS Named Colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7001
#8F999F
Silver grey
RAL 7000
#7E8B92
Squirrel grey
RAL 4003
#DE4C8A
Heather violet
RAL 3015
#EA899A
Light pink
RAL 7004
#9EA0A1
Signal grey
RAL 4009
#A18594
Pastel violet
FAQ about Violet
What is the HEX code for Violet?
Violet (violet) has the HEX code #EE82EE. In RGB it is rgb(238, 130, 238), and in CMYK it is cmyk(0%, 45%, 0%, 7%).
What is the OKLCH value of Violet?
Violet converts to oklch(0.762 0.186 327.2). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Violet accessible for body text?
Used as a background, Violet has a contrast ratio of 9.06:1 with black text and 2.32:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Violet?
The closest Pantone reference to Violet by ΔE2000 perceptual distance is Pantone 251 C (#DD9CDF). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Violet?
The closest RAL Classic reference to Violet by ΔE2000 distance is RAL 7001 (Silver grey, #8F999F). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Violet?
The complementary color (180° opposite on the HSL color wheel) of Violet is #81EE81. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
CSS Named Colors (CSS Color Module Level 4)
The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.
- Source type
- derived
- Confidence
- high
- License
- W3C permissive document license
- Last reviewed
- 2026-05-24
Workflow tags
CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.