#BA89FA

Closest named color: Liliac (#C48EFD). oklch(72.3% 0.165 302.5), rgb(186, 137, 250).

Aa

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

About this color

#BA89FA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.165 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.021 away. Black text reads best on it, at 8.04:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.04:1
White text2.60:1

Values

HEX#BA89FA
RGBrgb(186, 137, 250)
HSLhsl(266, 92%, 76%)
OKLCHoklch(72.3% 0.165 302.5)

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 #BA89FA 2.60:1 Fails Lc -55.9 Large or bold text, headings
Black text on #BA89FA 8.04:1 AAA Lc 53.3 Large or bold text, headings
#BA89FA text on white 2.60:1 Fails Lc 50.7 Large or bold text, headings
#BA89FA text on black 8.04:1 AAA Lc -51.2 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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CDB1F8

    oklch(80.9% 0.102 302.2)

  5. Step 400

    400 (this color)

    #BA89FA

    oklch(72.3% 0.165 302.5)

  6. Step 500

    500

    #A45FF0

    oklch(63.1% 0.211 302.7)

  7. Step 600

    600

    #903FDF

    oklch(55.7% 0.229 302.5)

  8. Step 700

    700

    #7A2FC1

    oklch(49.1% 0.212 302.4)

  9. Step 800

    800

    #63299C

    oklch(42.6% 0.176 302.4)

  10. Step 900

    900

    #51287C

    oklch(37.7% 0.137 302.7)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA89FA 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)#699FFE0.114
Deuteranopia (no green cones)#75A0F70.105
Tritanopia (no blue cones)#AF9DB60.126
Achromatopsia (no color)#A0A0A00.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA89FA

    #BA89FA

    oklch(72.3% 0.165 302.5)

  • #94B524

    #94B524

    oklch(72.3% 0.165 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA89FA

    #BA89FA

    oklch(72.3% 0.165 302.5)

  • #879EFF

    #879EFF

    oklch(72.3% 0.143 272.3)

  • #E07BD2

    #E07BD2

    oklch(72.3% 0.164 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA89FA

    #BA89FA

    oklch(72.3% 0.165 302.5)

  • #C6A200

    #C6A200

    oklch(72.4% 0.148 92.8)

  • #3BC271

    #3BC271

    oklch(72.3% 0.165 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA89FA

    #BA89FA

    oklch(72.3% 0.165 302.5)

  • #EC8A04

    #EC8A04

    oklch(72.3% 0.165 62.7)

  • #00BFAC

    #00BFAC

    oklch(72.2% 0.129 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA89FA

    #BA89FA

    oklch(72.3% 0.165 302.5)

  • #FB795F

    #FB795F

    oklch(72.3% 0.164 32.8)

  • #94B524

    #94B524

    oklch(72.3% 0.165 122.4)

  • #00B9D4

    #00B9D4

    oklch(72.2% 0.126 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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