#BA94FD

Closest named color: Liliac (#C48EFD). oklch(74.3% 0.151 299.4), rgb(186, 148, 253).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.151)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.74:1
White text2.40:1

Values

HEX#BA94FD
RGBrgb(186, 148, 253)
HSLhsl(262, 96%, 79%)
OKLCHoklch(74.3% 0.151 299.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 #BA94FD 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #BA94FD 8.74:1 AAA Lc 56.8 Large or bold text, headings
#BA94FD text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#BA94FD text on black 8.74:1 AAA Lc -54.8 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DED2F8

    oklch(88.5% 0.053 299.7)

  4. Step 300

    300

    #C9B3F6

    oklch(80.9% 0.096 299.3)

  5. Step 400

    400 (this color)

    #BA94FD

    oklch(74.3% 0.151 299.4)

  6. Step 500

    500

    #9C67EB

    oklch(63.1% 0.193 299.4)

  7. Step 600

    600

    #8849DA

    oklch(55.6% 0.211 299.4)

  8. Step 700

    700

    #7339BD

    oklch(49.1% 0.196 299.1)

  9. Step 800

    800

    #5E3099

    oklch(42.7% 0.163 299.5)

  10. Step 900

    900

    #4C2D7A

    oklch(37.8% 0.126 298.8)

  11. Step 950

    950

    #2D1B47

    oklch(27% 0.08 300)

Export this scale for Tailwind in the Tailwind colors tool

#BA94FD 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)#77A7FF0.095
Deuteranopia (no green cones)#7FA6FA0.088
Tritanopia (no blue cones)#ADA6BC0.119
Achromatopsia (no color)#A7A7A70.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA94FD

    #BA94FD

    oklch(74.3% 0.151 299.4)

  • #A1B93A

    #A1B93A

    oklch(74.4% 0.152 119.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA94FD

    #BA94FD

    oklch(74.3% 0.151 299.4)

  • #8AA7FF

    #8AA7FF

    oklch(74.3% 0.132 269.2)

  • #E086DA

    #E086DA

    oklch(74.3% 0.152 329.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA94FD

    #BA94FD

    oklch(74.3% 0.151 299.4)

  • #D2A602

    #D2A602

    oklch(74.4% 0.152 89.5)

  • #5CC676

    #5CC676

    oklch(74.4% 0.151 149.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA94FD

    #BA94FD

    oklch(74.3% 0.151 299.4)

  • #F09139

    #F09139

    oklch(74.2% 0.151 59.2)

  • #00C7AE

    #00C7AE

    oklch(74.3% 0.135 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA94FD

    #BA94FD

    oklch(74.3% 0.151 299.4)

  • #FD8372

    #FD8372

    oklch(74.3% 0.152 29.4)

  • #A1B93A

    #A1B93A

    oklch(74.4% 0.152 119.5)

  • #00C1D7

    #00C1D7

    oklch(74.2% 0.128 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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