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 familyPurples
Lightnessmedium-dark (53%)
Chromavivid (0.250)
Temperaturein between
Nearest nameBlue Violet
Black text3.52:1
White text5.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.

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.

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.

What colors make purple? | Color mixing chart

Codes for Blue Violet in every format

HEX#8A2BE2
RGBrgb(138, 43, 226)
HSLhsl(271, 76%, 53%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #E0D0FD

    oklch(88.5% 0.063 301.3)

  4. Step 300

    300

    #CDAFFE

    oklch(80.8% 0.113 301.3)

  5. Step 400

    400

    #B581FD

    oklch(70.7% 0.18 301.3)

  6. Step 500

    500

    #A459FB

    oklch(63% 0.231 301.3)

  7. Step 600

    600 (this color)

    #8A2BE2

    oklch(53.4% 0.25 301.4)

  8. Step 700

    700

    #7B24CB

    oklch(49.1% 0.232 301.3)

  9. Step 800

    800

    #6422A4

    oklch(42.7% 0.192 301.4)

  10. Step 900

    900

    #512482

    oklch(37.7% 0.15 301.4)

  11. Step 950

    950

    #2F174C

    oklch(27% 0.094 301.1)

Export this scale for Tailwind in the Tailwind colors tool

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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0063E70.169
Deuteranopia (no green cones)#0063DF0.170
Tritanopia (no blue cones)#765F890.182
Achromatopsia (no color)#6464640.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.