AfoliOpen Afoli →

Violet color #EE82EE

Violet is one of the CSS named colors (keyword violet) with the hex code #EE82EE — RGB 238, 130, 238, HSL 300°, 76%, 72%.

Open in Afoli Colour tools →

#EE82EEViolet

Color codes

HEX
#EE82EE
RGB
rgb(238, 130, 238)
HSL
hsl(300, 76%, 72%)
CMYK
0%, 45%, 0%, 7%
OKLCH
oklch(76.2% 0.186 327.2)
CSS keyword
violet

Tints and shades

#FFEFFF#FFC2FE#FD90FD#E176E1#C55CC6#AA42AC#902692#750078#540056#350037#19001A

Color harmonies

Complementary
#EE82EE#4CD067
Analogous
#BC9DFF#EE82EE#FF83B3
Triadic
#EE82EE#DCAA00#00C8DC
Split complementary
#EE82EE#AABF00#00CEB0
Tetradic
#EE82EE#FF922D#4CD067#46BEFF

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Violet text on white2.32 : 145Fails for text
Violet text on black9.06 : 1-57AAA — any text
White text on Violet2.32 : 1-50Fails for text
Black text on Violet9.06 : 159AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Violet?

Violet has the hex code #EE82EE, which is RGB 238, 130, 238 and HSL 300°, 76%, 72%.

Which text color reads best on Violet?

Black text: contrast 9.06 : 1 (white text: 2.32 : 1).

Which colors go well with Violet?

Its complementary color is #4CD067; analogous colors are #BC9DFF and #FF83B3; a triadic set adds #DCAA00 and #00C8DC.

Similar colors

Sources and licences

Updated November 21, 2026