Blueviolet to RGB — Color Code

#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 RGB code for blueviolet?

The CSS color blueviolet in RGB format is rgb(138, 43, 226). 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: rgb(138, 43, 226);
  • Background: background-color: rgb(138, 43, 226);
  • Border: border-color: rgb(138, 43, 226);

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 RGB?

Select blueviolet from the color name list in our color converter. The RGB value — rgb(138, 43, 226) — 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 RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.