#BA84EB

Closest named color: Light Purple (#BF77F6). oklch(70.7% 0.155 307), rgb(186, 132, 235).

Aa

Black text reads best on this color (7.58:1).

About this color

#BA84EB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.155 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.036 away. Black text reads best on it, at 7.58:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.155)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.58:1
White text2.76:1

Values

HEX#BA84EB
RGBrgb(186, 132, 235)
HSLhsl(271, 72%, 72%)
OKLCHoklch(70.7% 0.155 307)

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 #BA84EB 2.76:1 Fails Lc -58.5 Large or bold text, headings
Black text on #BA84EB 7.58:1 AAA Lc 50.8 Large or bold text, headings
#BA84EB text on white 2.76:1 Fails Lc 53.2 Large or bold text, headings
#BA84EB text on black 7.58:1 AAA Lc -48.6 Large or bold text, headings

Tints and shades

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 400.

  1. Step 50

    50

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E2D0F6

    oklch(88.4% 0.055 306.7)

  4. Step 300

    300

    #D1B0F2

    oklch(80.8% 0.098 307.1)

  5. Step 400

    400 (this color)

    #BA84EB

    oklch(70.7% 0.155 307)

  6. Step 500

    500

    #A960E5

    oklch(63.1% 0.199 306.9)

  7. Step 600

    600

    #9541D2

    oklch(55.6% 0.215 307.3)

  8. Step 700

    700

    #7F31B6

    oklch(49% 0.2 307.2)

  9. Step 800

    800

    #672B94

    oklch(42.7% 0.166 306.8)

  10. Step 900

    900

    #542976

    oklch(37.8% 0.129 307)

  11. Step 950

    950

    #311945

    oklch(27% 0.082 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA84EB 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)#6B99EF0.114
Deuteranopia (no green cones)#799CE80.105
Tritanopia (no blue cones)#B395AC0.114
Achromatopsia (no color)#9B9B9B0.156

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #BA84EB

    #BA84EB

    oklch(70.7% 0.155 307)

  • #86B139

    #86B139

    oklch(70.6% 0.154 127)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA84EB

    #BA84EB

    oklch(70.7% 0.155 307)

  • #8995FF

    #8995FF

    oklch(70.7% 0.154 276.8)

  • #DC77C3

    #DC77C3

    oklch(70.6% 0.155 337.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #BA84EB

    #BA84EB

    oklch(70.7% 0.155 307)

  • #BAA000

    #BAA000

    oklch(70.7% 0.146 97.5)

  • #2EBC79

    #2EBC79

    oklch(70.6% 0.154 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA84EB

    #BA84EB

    oklch(70.7% 0.155 307)

  • #DF8A08

    #DF8A08

    oklch(70.6% 0.155 66.9)

  • #00B9AD

    #00B9AD

    oklch(70.7% 0.124 186.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA84EB

    #BA84EB

    oklch(70.7% 0.155 307)

  • #F07957

    #F07957

    oklch(70.7% 0.155 36.8)

  • #86B139

    #86B139

    oklch(70.6% 0.154 127)

  • #00B3D4

    #00B3D4

    oklch(70.7% 0.127 217.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #BA84EB, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #BA84EB 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.