Colors

#8A2BE2

Blue Violet

Blue Violet is #8A2BE2. In CSS you can write it as the keyword blueviolet. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

HEX
#8A2BE2
RGB
rgb(138, 43, 226)
HSL
hsl(271,76%,53%)
HSV
hsv(271, 81%, 89%)
CMYK
cmyk(39,81,0,11)
OKLCH
oklch(53.4% 0.250 301.4)

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#A155E8

20% white

#B980EE

40% white

#D0AAF3

60% white

#E8D5F9

80% white

Shades

#6E22B5

20% black

#531A88

40% black

#37115A

60% black

#1C092D

80% black

Harmony palettes

These schemes rotate hue from Blue Violet. Read the relationships in color theory 101 or adjust them on the color wheel.

#8A2CE2

#84E22C

#AF82D9

#ACD982

#623C86

#2F2CE2

#8A2CE2

#E22CDF

#E22C84

#3A85D5

#8A2CE2

#E28A2C

#2CE28A

#D9AF82

#33A870

Split Complementary

Open in palette generator

#8A2CE2

#DFE22C

#2CE22F

#BB9BDA

#60863C

#340C5A

#5C159D

#831FE0

#A862EA

#CDA5F3

#8A2CE2

#E22F2C

#84E22C

#2CDFE2

#D27B7A

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 5.96:1
AA normal text Pass
AA large text Pass
AAA normal text Fail
AAA large text Pass
On black · 3.52:1
AA normal text Fail
AA large text Pass
AAA normal text Fail
AAA large text Fail

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color