Blueviolet Color — HEX, RGB, HSL & CMYK Codes

#8a2be2
Format Value
HEX #8a2be2
RGB rgb(138, 43, 226)
HSL hsl(271.1, 75.9%, 52.7%)
CMYK cmyk(38.9%, 81%, 0%, 11.4%)
HSV hsv(271.1, 81%, 88.6%)

blueviolet color harmonies

Tints & shades of blueviolet

Tints (lighter)

#953ee5 #9f52e7 #aa65ea #b578ed #bf8bef #ca9ff2 #d4b2f4 #dfc5f7 #ead8fa #f4ecfc

Shades (darker)

#7d27cd #7123b9 #641fa4 #581b90 #4b177b #3f1467 #321052 #260c3e #190829 #0d0415

Contrast & accessibility

The quick brown fox

On white · 5.96:1 · AA

The quick brown fox

On black · 3.52:1 · AA Large

Recommended text color: #ffffff

Use blueviolet in code

CSS color: #8a2be2;
SCSS $color: #8a2be2;
Tailwind bg-[#8a2be2]
Swift UIColor(red: 0.541, green: 0.169, blue: 0.886, alpha: 1)
Android Color.parseColor("#8a2be2")
Flutter Color(0xFF8A2BE2)

Colors similar to blueviolet

Browse all Purple colors →

What is the HEX code for blueviolet?

The CSS color blueviolet in HEX format is #8a2be2. Use this value directly in CSS, SVG, and most design tools.

How do I use blueviolet in CSS?

To apply blueviolet in CSS:

  • Text color: color: #8a2be2;
  • Background: background-color: #8a2be2;
  • Border: border-color: #8a2be2;

What are all the color format values for blueviolet?

FormatValue
HEX#8a2be2
RGBrgb(138, 43, 226)
HSLhsl(271.1, 75.9%, 52.7%)
CMYKcmyk(38.9%, 81%, 0%, 11.4%)

How do I convert blueviolet to HEX?

Select blueviolet from the color name list in our color converter. The HEX value — #8a2be2 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does blueviolet belong to?

blueviolet belongs to the purple color family. It is a medium, vivid color with HSL values: hue 271.1°, saturation 75.9%, lightness 52.7%.

How do I create lighter and darker shades of blueviolet?

Lighter variant (lightness 67.7%): #af6eeb. Darker variant (lightness 37.7%): #6317a9. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.