#hexpedia

Blue Violet

#8A2BE2

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX8A2BE2
HEX with ##8A2BE2
RGBrgb(138, 43, 226)
RGBArgba(138, 43, 226, 1)
HSLhsl(271.15 75.93% 52.75%)
HSLAhsla(271.15, 75.93%, 52.75%, 1)
HSVhsv(271.15, 80.97%, 88.63%)
CMYKcmyk(38.94%, 80.97%, 0%, 11.37%)
OKLCHoklch(53.38% 0.2503 301.37)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

5.96:1

AA normal

Black text

3.52:1

AA large

Reference notes

The hex value #8A2BE2 sits in the violet range with a balanced appearance and saturated chroma. Measured through common web color formats, the channels resolve to rgb(138 43 226) and an HSL lightness of 53%, which explains its visual density. The cool cast matters because neighboring colors can make the same hex feel sharper, calmer, or more neutral than it appears in isolation. Because web color is device-dependent, treat the numeric conversion table as the stable reference and use the visual swatch as a quick sanity check. The linked variants and pairings give nearby colors for systematic palettes, while the CSS Forge links let the same value move directly into CSS experiments. For brand-adjacent work, compare the closest named colors before reusing it, because a familiar name can change how stakeholders describe the same swatch. Designers can use it in badges, highlights, product accents, and moments where quick recognition matters. When combined with lighter or darker variants, it gives enough range for borders, fills, and active states.