#BA99FF

Closest named color: Liliac (#C48EFD). oklch(75.3% 0.146 297.7), rgb(186, 153, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.146)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.08:1
White text2.31:1

Values

HEX#BA99FF
RGBrgb(186, 153, 255)
HSLhsl(259, 100%, 80%)
OKLCHoklch(75.3% 0.146 297.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 #BA99FF 2.31:1 Fails Lc -50.3 Large or bold text, headings
Black text on #BA99FF 9.08:1 AAA Lc 58.5 Large or bold text, headings
#BA99FF text on white 2.31:1 Fails Lc 45.5 Large or bold text, headings
#BA99FF text on black 9.08:1 AAA Lc -56.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE6FA

    oklch(93.5% 0.027 297.3)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C7B4F5

    oklch(80.8% 0.092 297.7)

  5. Step 400

    400 (this color)

    #BA99FF

    oklch(75.3% 0.146 297.7)

  6. Step 500

    500

    #996AEA

    oklch(63.2% 0.187 297.8)

  7. Step 600

    600

    #844DD8

    oklch(55.6% 0.203 297.6)

  8. Step 700

    700

    #703DBB

    oklch(49.1% 0.188 297.6)

  9. Step 800

    800

    #5B3398

    oklch(42.7% 0.157 297.5)

  10. Step 900

    900

    #4A2E79

    oklch(37.6% 0.123 297.4)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#BA99FF 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)#7DABFF0.087
Deuteranopia (no green cones)#83A9FC0.081
Tritanopia (no blue cones)#ACABC00.117
Achromatopsia (no color)#AAAAAA0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA99FF

    #BA99FF

    oklch(75.3% 0.146 297.7)

  • #A7BB41

    #A7BB41

    oklch(75.3% 0.147 118)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA99FF

    #BA99FF

    oklch(75.3% 0.146 297.7)

  • #8CABFF

    #8CABFF

    oklch(75.2% 0.126 267.9)

  • #E08CDE

    #E08CDE

    oklch(75.4% 0.146 327.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA99FF

    #BA99FF

    oklch(75.3% 0.146 297.7)

  • #D6A821

    #D6A821

    oklch(75.3% 0.146 87.6)

  • #67C877

    #67C877

    oklch(75.3% 0.147 147.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA99FF

    #BA99FF

    oklch(75.3% 0.146 297.7)

  • #F39546

    #F39546

    oklch(75.4% 0.146 57.7)

  • #00CBAE

    #00CBAE

    oklch(75.3% 0.139 177.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA99FF

    #BA99FF

    oklch(75.3% 0.146 297.7)

  • #FE877A

    #FE877A

    oklch(75.2% 0.147 27.6)

  • #A7BB41

    #A7BB41

    oklch(75.3% 0.147 118)

  • #00C5D9

    #00C5D9

    oklch(75.3% 0.129 207.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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