#BA9FFA

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.13 296.8), rgb(186, 159, 250).

Aa

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

About this color

#BA9FFA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.130 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.025 away. Black text reads best on it, at 9.42:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.42:1
White text2.22:1

Values

HEX#BA9FFA
RGBrgb(186, 159, 250)
HSLhsl(258, 90%, 80%)
OKLCHoklch(76.1% 0.13 296.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 #BA9FFA 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #BA9FFA 9.42:1 AAA Lc 60.2 Content text, not long reading
#BA9FFA text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#BA9FFA text on black 9.42:1 AAA Lc -58.4 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 300.

  1. Step 50

    50

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE6FF

    oklch(93.7% 0.034 296.7)

  3. Step 200

    200

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300 (this color)

    #BA9FFA

    oklch(76.1% 0.13 296.8)

  5. Step 400

    400

    #AD85FF

    oklch(70.7% 0.175 296.8)

  6. Step 500

    500

    #9B5EFF

    oklch(63% 0.228 296.8)

  7. Step 600

    600

    #8C23FF

    oklch(55.6% 0.282 296.9)

  8. Step 700

    700

    #7800E1

    oklch(49.2% 0.267 296.8)

  9. Step 800

    800

    #610EB6

    oklch(42.6% 0.223 296.8)

  10. Step 900

    900

    #4F1C90

    oklch(37.7% 0.174 297)

  11. Step 950

    950

    #2E1454

    oklch(27.1% 0.109 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA9FFA 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)#87AEFE0.073
Deuteranopia (no green cones)#8CADF80.068
Tritanopia (no blue cones)#ADAEC10.104
Achromatopsia (no color)#AEAEAE0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9FFA

    #BA9FFA

    oklch(76.1% 0.13 296.8)

  • #ACBC54

    #ACBC54

    oklch(76.1% 0.131 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9FFA

    #BA9FFA

    oklch(76.1% 0.13 296.8)

  • #8EAFFF

    #8EAFFF

    oklch(76.1% 0.121 266.5)

  • #DD93DD

    #DD93DD

    oklch(76.1% 0.131 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA9FFA

    #BA9FFA

    oklch(76.1% 0.13 296.8)

  • #D5AB42

    #D5AB42

    oklch(76% 0.13 86.7)

  • #76C87F

    #76C87F

    oklch(76.2% 0.131 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9FFA

    #BA9FFA

    oklch(76.1% 0.13 296.8)

  • #EF9B59

    #EF9B59

    oklch(76.1% 0.13 57.3)

  • #32CCB0

    #32CCB0

    oklch(76.1% 0.13 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9FFA

    #BA9FFA

    oklch(76.1% 0.13 296.8)

  • #F98F84

    #F98F84

    oklch(76% 0.13 26.8)

  • #ACBC54

    #ACBC54

    oklch(76.1% 0.131 116.9)

  • #01C8DB

    #01C8DB

    oklch(76.1% 0.13 206.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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