#BA88FA

Closest named color: Liliac (#C48EFD). oklch(72.1% 0.167 302.7), rgb(186, 136, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.167)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.98:1
White text2.62:1

Values

HEX#BA88FA
RGBrgb(186, 136, 250)
HSLhsl(266, 92%, 76%)
OKLCHoklch(72.1% 0.167 302.7)

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 #BA88FA 2.62:1 Fails Lc -56.2 Large or bold text, headings
Black text on #BA88FA 7.98:1 AAA Lc 53.0 Large or bold text, headings
#BA88FA text on white 2.62:1 Fails Lc 51.0 Large or bold text, headings
#BA88FA text on black 7.98:1 AAA Lc -50.9 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

    #EDE5FB

    oklch(93.5% 0.031 302.3)

  3. Step 200

    200

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CEB0F8

    oklch(80.8% 0.104 303.2)

  5. Step 400

    400 (this color)

    #BA88FA

    oklch(72.1% 0.167 302.7)

  6. Step 500

    500

    #A45EF1

    oklch(63% 0.213 302.6)

  7. Step 600

    600

    #903EDF

    oklch(55.6% 0.23 302.6)

  8. Step 700

    700

    #7B2DC2

    oklch(49.1% 0.215 302.7)

  9. Step 800

    800

    #64289D

    oklch(42.7% 0.178 302.8)

  10. Step 900

    900

    #51277D

    oklch(37.7% 0.14 302.6)

  11. Step 950

    950

    #2F1849

    oklch(26.9% 0.088 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA88FA 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)#689FFE0.116
Deuteranopia (no green cones)#749FF70.106
Tritanopia (no blue cones)#AF9CB50.127
Achromatopsia (no color)#A0A0A00.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA88FA

    #BA88FA

    oklch(72.1% 0.167 302.7)

  • #93B521

    #93B521

    oklch(72.3% 0.167 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA88FA

    #BA88FA

    oklch(72.1% 0.167 302.7)

  • #879DFF

    #879DFF

    oklch(72.1% 0.145 272.7)

  • #E079D2

    #E079D2

    oklch(72% 0.167 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA88FA

    #BA88FA

    oklch(72.1% 0.167 302.7)

  • #C5A100

    #C5A100

    oklch(72.1% 0.148 92.7)

  • #37C270

    #37C270

    oklch(72.2% 0.167 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA88FA

    #BA88FA

    oklch(72.1% 0.167 302.7)

  • #EC8900

    #EC8900

    oklch(72.1% 0.165 62.3)

  • #00BFAC

    #00BFAC

    oklch(72.2% 0.129 182.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA88FA

    #BA88FA

    oklch(72.1% 0.167 302.7)

  • #FB785E

    #FB785E

    oklch(72.1% 0.166 32.7)

  • #93B521

    #93B521

    oklch(72.3% 0.167 122.6)

  • #00B9D3

    #00B9D3

    oklch(72.1% 0.126 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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