#BA9FF2

Closest named color: Baby Purple (#CA9BF7). oklch(75.7% 0.12 298.5), rgb(186, 159, 242).

Aa

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

About this color

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

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

Values

HEX#BA9FF2
RGBrgb(186, 159, 242)
HSLhsl(260, 76%, 79%)
OKLCHoklch(75.7% 0.12 298.5)

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 #BA9FF2 2.25:1 Fails Lc -49.1 Large or bold text, headings
Black text on #BA9FF2 9.32:1 AAA Lc 59.7 Large or bold text, headings
#BA9FF2 text on white 2.25:1 Fails Lc 44.3 Non-text elements, placeholder text
#BA9FF2 text on black 9.32:1 AAA Lc -57.8 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DCD4F2

    oklch(88.6% 0.042 297.7)

  4. Step 300

    300

    #C6B7EB

    oklch(80.9% 0.074 297.9)

  5. Step 400

    400 (this color)

    #BA9FF2

    oklch(75.7% 0.12 298.5)

  6. Step 500

    500

    #9671D8

    oklch(63% 0.153 298.5)

  7. Step 600

    600

    #8257C6

    oklch(55.6% 0.167 298.7)

  8. Step 700

    700

    #6E47AB

    oklch(49.2% 0.154 298.6)

  9. Step 800

    800

    #593B8A

    oklch(42.7% 0.127 298.4)

  10. Step 900

    900

    #49336F

    oklch(37.7% 0.101 298.4)

  11. Step 950

    950

    #2B1E41

    oklch(26.9% 0.064 299.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA9FF2 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)#8BADF50.068
Deuteranopia (no green cones)#8FACF00.064
Tritanopia (no blue cones)#AFADBD0.097
Achromatopsia (no color)#ADADAD0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9FF2

    #BA9FF2

    oklch(75.7% 0.12 298.5)

  • #A9BB5F

    #A9BB5F

    oklch(75.8% 0.12 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9FF2

    #BA9FF2

    oklch(75.7% 0.12 298.5)

  • #90ADFD

    #90ADFD

    oklch(75.8% 0.12 268.3)

  • #DA94D6

    #DA94D6

    oklch(75.7% 0.12 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA9FF2

    #BA9FF2

    oklch(75.7% 0.12 298.5)

  • #CFAC4E

    #CFAC4E

    oklch(75.8% 0.119 88.8)

  • #78C585

    #78C585

    oklch(75.7% 0.119 148.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9FF2

    #BA9FF2

    oklch(75.7% 0.12 298.5)

  • #E99C5F

    #E99C5F

    oklch(75.7% 0.12 58)

  • #43C9B1

    #43C9B1

    oklch(75.8% 0.12 178.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9FF2

    #BA9FF2

    oklch(75.7% 0.12 298.5)

  • #F39285

    #F39285

    oklch(75.8% 0.12 28.4)

  • #A9BB5F

    #A9BB5F

    oklch(75.8% 0.12 118.5)

  • #33C5D8

    #33C5D8

    oklch(75.8% 0.12 208.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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