Blue Violet #8A2BE2
Blue Violet is a medium-dark, vivid purple with hex code #8A2BE2 and RGB rgb(138, 43, 226).
Aa
White text reads best on this color (5.95:1).
About this color
#8A2BE2 is a medium-dark, vivid purple. In OKLCH its lightness is 53%, its chroma 0.250 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. It is the named color Blue Violet. White text reads best on it, at 5.95:1.
| Hue family | Purples |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.250) |
| Temperature | in between |
| Nearest name | Blue Violet |
| Black text | 3.52:1 |
| White text | 5.95:1 |
Colors that go with Blue Violet
Matches found by rotating Blue Violet around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Blue Violet
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Blue Violet, closest first.
Similar named colors
The eight named colors closest to Blue Violet, with their ΔE distance.
- Dark Violet #9400D3 ΔE 0.043
- Vivid Purple #9900FA ΔE 0.047
- Dark Orchid #9932CC ΔE 0.049
- Burple #6832E3 ΔE 0.064
- Purpley #8756E4 ΔE 0.069
- Vibrant Purple #AD03DE ΔE 0.072
- Electric Purple #AA23FF ΔE 0.072
- Bright Violet #AD0AFD ΔE 0.076
More about Blue Violet
How to make Blue Violet
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 2 parts purple
- 1 part white
Recipe result: #944DB4, a difference of ΔE 0.097 from Blue Violet. Blue Violet is more vivid than these paints can mix, so start from a ready-made purple paint and adjust it.
Codes for Blue Violet in every format
| HEX | #8A2BE2 |
| RGB | rgb(138, 43, 226) |
| HSL | hsl(271, 76%, 53%) |
| OKLCH | oklch(53.4% 0.25 301.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #8A2BE2 | 5.95:1 | AA | Lc -83.7 | Fine for body text |
| Black text on #8A2BE2 | 3.52:1 | AA large text | Lc 25.6 | Dividers and decoration only |
| #8A2BE2 text on white | 5.95:1 | AA | Lc 78.4 | Fine for body text |
| #8A2BE2 text on black | 3.52:1 | AA large text | Lc -23.3 | Dividers and decoration only |
Shades and tints of Blue Violet
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EDE5FD
oklch(93.5% 0.033 300.9)
-
Step 200
200
#E0D0FD
oklch(88.5% 0.063 301.3)
-
Step 300
300
#CDAFFE
oklch(80.8% 0.113 301.3)
-
Step 400
400
#B581FD
oklch(70.7% 0.18 301.3)
-
Step 500
500
#A459FB
oklch(63% 0.231 301.3)
-
Step 600
600 (this color)
#8A2BE2
oklch(53.4% 0.25 301.4)
-
Step 700
700
#7B24CB
oklch(49.1% 0.232 301.3)
-
Step 800
800
#6422A4
oklch(42.7% 0.192 301.4)
-
Step 900
900
#512482
oklch(37.7% 0.15 301.4)
-
Step 950
950
#2F174C
oklch(27% 0.094 301.1)
Blue Violet with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0063E7 | 0.169 |
| Deuteranopia (no green cones) | #0063DF | 0.170 |
| Tritanopia (no blue cones) | #765F89 | 0.182 |
| Achromatopsia (no color) | #646464 | 0.252 |
Use Blue Violet in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.