#BA9DF2

Closest named color: Baby Purple (#CA9BF7). oklch(75.4% 0.123 299.1), rgb(186, 157, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.19:1
White text2.28:1

Values

HEX#BA9DF2
RGBrgb(186, 157, 242)
HSLhsl(260, 77%, 78%)
OKLCHoklch(75.4% 0.123 299.1)

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 #BA9DF2 2.28:1 Fails Lc -49.8 Large or bold text, headings
Black text on #BA9DF2 9.19:1 AAA Lc 59.0 Large or bold text, headings
#BA9DF2 text on white 2.28:1 Fails Lc 45.0 Non-text elements, placeholder text
#BA9DF2 text on black 9.19:1 AAA Lc -57.1 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DDD3F2

    oklch(88.4% 0.043 300.2)

  4. Step 300

    300

    #C7B6EC

    oklch(80.9% 0.077 299.1)

  5. Step 400

    400 (this color)

    #BA9DF2

    oklch(75.4% 0.123 299.1)

  6. Step 500

    500

    #9870DA

    oklch(63.1% 0.157 299.3)

  7. Step 600

    600

    #8356C7

    oklch(55.6% 0.17 299.2)

  8. Step 700

    700

    #6F45AC

    oklch(49.1% 0.159 299.3)

  9. Step 800

    800

    #5A3A8C

    oklch(42.8% 0.131 298.7)

  10. Step 900

    900

    #4A3270

    oklch(37.7% 0.104 299.2)

  11. Step 950

    950

    #2B1E41

    oklch(26.9% 0.064 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA9DF2 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)#88ABF50.072
Deuteranopia (no green cones)#8DABF00.068
Tritanopia (no blue cones)#B0ABBC0.098
Achromatopsia (no color)#ABABAB0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9DF2

    #BA9DF2

    oklch(75.4% 0.123 299.1)

  • #A6BA5B

    #A6BA5B

    oklch(75.3% 0.123 119.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9DF2

    #BA9DF2

    oklch(75.4% 0.123 299.1)

  • #8FABFD

    #8FABFD

    oklch(75.3% 0.123 269)

  • #DA92D5

    #DA92D5

    oklch(75.3% 0.123 329.1)

Open the analogous palette in the generator

Split complementary

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

  • #BA9DF2

    #BA9DF2

    oklch(75.4% 0.123 299.1)

  • #CEAB48

    #CEAB48

    oklch(75.4% 0.123 89.5)

  • #74C584

    #74C584

    oklch(75.5% 0.123 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9DF2

    #BA9DF2

    oklch(75.4% 0.123 299.1)

  • #E89B5A

    #E89B5A

    oklch(75.3% 0.123 59.5)

  • #3BC8B1

    #3BC8B1

    oklch(75.3% 0.122 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9DF2

    #BA9DF2

    oklch(75.4% 0.123 299.1)

  • #F39081

    #F39081

    oklch(75.4% 0.123 29.4)

  • #A6BA5B

    #A6BA5B

    oklch(75.3% 0.123 119.3)

  • #28C4D9

    #28C4D9

    oklch(75.4% 0.123 209.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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