Blue Violet color #8A2BE2
Blue Violet is one of the CSS named colors (keyword blueviolet) with the hex code #8A2BE2 — RGB 138, 43, 226, HSL 271°, 76%, 53%.
#8A2BE2Blue Violet
Color codes
- HEX
#8A2BE2- RGB
rgb(138, 43, 226)- HSL
hsl(271, 76%, 53%)- CMYK
39%, 81%, 0%, 11%- OKLCH
oklch(53.4% 0.25 301.4)- CSS keyword
blueviolet
Tints and shades
#F7F3FF#E1D1FF#CDAEFF#BA88FF#A85DFF#9236EB#7A06CF#5E00A2#430075#29004C#120027
Color harmonies
Complementary
#8A2BE2#627700
Analogous
#424EFA#8A2BE2#B400AA
Triadic
#8A2BE2#9F5900#007F70
Split complementary
#8A2BE2#846A00#00833F
Tetradic
#8A2BE2#C91D00#627700#007B8C
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Blue Violet text on white | 5.96 : 1 | 78 | AA — body text |
| Blue Violet text on black | 3.52 : 1 | -23 | AA for large text only |
| White text on Blue Violet | 5.96 : 1 | -84 | AA — body text |
| Black text on Blue Violet | 3.52 : 1 | 26 | AA for large text only |
Palettes with this color
Frequently asked questions
What is the hex code of Blue Violet?
Blue Violet has the hex code #8A2BE2, which is RGB 138, 43, 226 and HSL 271°, 76%, 53%.
Which text color reads best on Blue Violet?
White text: contrast 5.96 : 1 (black text: 3.52 : 1).
Which colors go well with Blue Violet?
Its complementary color is #627700; analogous colors are #424EFA and #B400AA; a triadic set adds #9F5900 and #007F70.
Similar colors
- Dark Violet #9400D3
- Vivid Purple #9900FA
- Dark Orchid #9932CC
- Bluish Purple #703BE7
- Burple #6832E3
- Purpley #8756E4
- Vibrant Purple #AD03DE
- Bright Violet #AD0AFD
- Purply Blue #661AEE
- Purpleish Blue #6140EF
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)