Blue Violet (#8A2BE2)
The hex code for Blue Violet is #8A2BE2. It is rgb(138, 43, 226) in RGB, hsl(271, 76%, 53%) in HSL, and about cmyk(39%, 81%, 0%, 11%) in CMYK — a mid-tone purple. White text is the more readable choice on this background.
#8A2BE2rgb(138, 43, 226)hsl(271, 76%, 53%)hsv(271, 81%, 89%)cmyk(39%, 81%, 0%, 11%)oklch(53.4% 0.25 301.4)lab(41.21% 63.01 -75.96)lch(41.21% 98.69 309.68)Colors Closest to Blue Violet
Blue Violet is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every purple in the library.
#8A2BE2 Channel Values
How Blue Violet breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 138 · G 43 · B 226 | 8-bit channels as sent to the display |
| HSL | H 271° · S 76% · L 53% | Easiest model for building lighter and darker variants |
| HSV | H 271° · S 81% · V 89% | Matches the picker in most design tools |
| CMYK | C 39% · M 81% · Y 0% · K 11% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 5.96:1 vs white · 3.52:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Blue Violet background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #8A2BE2 in the contrast checker.
Colors That Go With Blue Violet
Pairings derived from color-wheel relationships. The complementary color sits opposite Blue Violet; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Blue Violet
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #8A2BE2.
How Blue Violet Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#8A2BE2#4747E2#683EE2#5959E1#704BE1#6F6060#7B50A5#646464Using #8A2BE2 in Code
Copy-ready declarations for the places this color usually ends up.
--blue-violet: #8A2BE2;background-color: #8A2BE2;colors: { 'blue-violet': '#8A2BE2' }Color(red: 0.541, green: 0.169, blue: 0.886)<color name="blue_violet">#8A2BE2</color>fill="#8A2BE2"More Purple Colors
Blue Violet sits in the purple family. These are its neighbours across that family's full range, each with its own breakdown.
#8A2BE2 Frequently Asked Questions
What is the hex code for Blue Violet?
The hex code for Blue Violet is #8A2BE2. That is rgb(138, 43, 226) in RGB, hsl(271, 76%, 53%) in HSL, and approximately cmyk(39%, 81%, 0%, 11%) in CMYK.
What is the RGB value of #8A2BE2?
#8A2BE2 is rgb(138, 43, 226) — red 138, green 43, and blue 226 on the 0-255 scale.
What is the CMYK value of #8A2BE2?
#8A2BE2 converts to approximately cmyk(39%, 81%, 0%, 11%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #8A2BE2 be black or white?
White text is the more readable choice. #8A2BE2 scores 5.96:1 against white and 3.52:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Is BlueViolet a CSS named color?
Yes. BlueViolet is one of the CSS named colors, so you can write color: blueviolet instead of the hex code.
Open Blue Violet in a Tool
Keep exploring: every purple in the color library, the guide to shades of purple, or the full color library.