Skip to content
Vectorlight.net

violet (#ee82ee)

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ee82ee
RGB
238, 130, 238
HSL
300°, 76.06%, 72.16%
OKLCH
0.76 0.19 327.21
Names
violet
Lists

Codes

FormatValue
HEX#ee82ee
RGBrgb(238 130 238)
HSLhsl(300 76.06% 72.16%)
OKLCHoklch(0.76 0.19 327.21)
CMYKcmyk(0% 45.38% 0% 6.67%)
Android#ffee82ee

Names & lists

violet CSS named

Web-safe: No

Tailwind: No

Contrast

Aa
2.31:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.06:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ee82ee"
Gradient stop
<stop stop-color="#ee82ee"/>
CSS variable + fill
:root { --c: #ee82ee; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ee82ee;
background-color: #ee82ee;
bg-[#ee82ee]