#BA94FB

Closest named color: Liliac (#C48EFD). oklch(74.2% 0.149 299.8), rgb(186, 148, 251).

Aa

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

About this color

#BA94FB is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.149 and its hue 300°. 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.71:1.

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

Values

HEX#BA94FB
RGBrgb(186, 148, 251)
HSLhsl(262, 93%, 78%)
OKLCHoklch(74.2% 0.149 299.8)

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 #BA94FB 2.40:1 Fails Lc -52.3 Large or bold text, headings
Black text on #BA94FB 8.71:1 AAA Lc 56.7 Large or bold text, headings
#BA94FB text on white 2.40:1 Fails Lc 47.3 Large or bold text, headings
#BA94FB text on black 8.71:1 AAA Lc -54.7 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

    #DED2F7

    oklch(88.5% 0.052 300.1)

  4. Step 300

    300

    #C9B3F4

    oklch(80.8% 0.093 299.8)

  5. Step 400

    400 (this color)

    #BA94FB

    oklch(74.2% 0.149 299.8)

  6. Step 500

    500

    #9C67E9

    oklch(63% 0.19 299.8)

  7. Step 600

    600

    #884AD8

    oklch(55.6% 0.207 299.6)

  8. Step 700

    700

    #743ABB

    oklch(49.2% 0.192 299.9)

  9. Step 800

    800

    #5E3197

    oklch(42.7% 0.159 299.9)

  10. Step 900

    900

    #4D2D78

    oklch(37.7% 0.124 300.2)

  11. Step 950

    950

    #2D1B47

    oklch(27% 0.08 300)

Export this scale for Tailwind in the Tailwind colors tool

#BA94FB 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)#78A7FF0.094
Deuteranopia (no green cones)#80A6F80.087
Tritanopia (no blue cones)#AEA6BC0.117
Achromatopsia (no color)#A7A7A70.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA94FB

    #BA94FB

    oklch(74.2% 0.149 299.8)

  • #A0B83E

    #A0B83E

    oklch(74.1% 0.148 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA94FB

    #BA94FB

    oklch(74.2% 0.149 299.8)

  • #8BA6FF

    #8BA6FF

    oklch(74.1% 0.133 270.1)

  • #DF87D8

    #DF87D8

    oklch(74.3% 0.148 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA94FB

    #BA94FB

    oklch(74.2% 0.149 299.8)

  • #D0A610

    #D0A610

    oklch(74.2% 0.149 90)

  • #5CC577

    #5CC577

    oklch(74.2% 0.149 149.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA94FB

    #BA94FB

    oklch(74.2% 0.149 299.8)

  • #EF923B

    #EF923B

    oklch(74.3% 0.149 59.7)

  • #00C7AE

    #00C7AE

    oklch(74.3% 0.135 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA94FB

    #BA94FB

    oklch(74.2% 0.149 299.8)

  • #FB8472

    #FB8472

    oklch(74.2% 0.148 30)

  • #A0B83E

    #A0B83E

    oklch(74.1% 0.148 119.7)

  • #00C1D8

    #00C1D8

    oklch(74.3% 0.128 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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