#8A3DF5
Bright Violet
#8A3DF5 is the CSS named color "blueviolet", an exact match. In RGB it breaks down to red 138, green 61, and blue 245 out of 255 each. In HSL terms that's a hue of 265°, 90% saturation, and 60% lightness: on the lighter side — readable as large or bold text on a dark background, but too pale for small body text on white.
Every format
| HEX | #8a3df5 |
| RGB | rgb(138, 61, 245) |
| HSL | hsl(265° 90% 60%) |
| HSB | hsb(265° 75% 96%) |
| OKLCH | oklch(57% 0.253 296°) |
| OKLAB | oklab(57% 0.112 -0.227) |
| LCH | lch(45% 100.3 307°) |
| CMYK | cmyk(44% 75% 0% 4%) |
Shades (darker)
#8a3df5 · #7d29e5 · #710dd5 · #6500c5 · #5900b6
Tints (lighter)
#8a3df5 · #974eff · #a35dff · #b06cff · #be7bff
Shades mix #8A3DF5 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 5.16:1 — AA
On black: 4.07:1 — AA (large text only)
Frequently asked
- What is #8A3DF5 in RGB?
- #8A3DF5 is rgb(138, 61, 245) — red 138, green 61, blue 245 out of 255 each.
- Does #8A3DF5 pass WCAG contrast on a white background?
- It has a contrast ratio of 5.16:1 against white, which passes WCAG AA for normal text.
- What's a good background color to pair with #8A3DF5?
- White text or a white background gives better contrast (5.16:1) than black (4.07:1).