#BA9EFA

Closest named color: Baby Purple (#CA9BF7). oklch(75.9% 0.132 297.2), rgb(186, 158, 250).

Aa

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

About this color

#BA9EFA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.132 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.35:1.

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

Values

HEX#BA9EFA
RGBrgb(186, 158, 250)
HSLhsl(258, 90%, 80%)
OKLCHoklch(75.9% 0.132 297.2)

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 #BA9EFA 2.24:1 Fails Lc -48.9 Large or bold text, headings
Black text on #BA9EFA 9.35:1 AAA Lc 59.8 Large or bold text, headings
#BA9EFA text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#BA9EFA text on black 9.35:1 AAA Lc -58.0 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

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DDD1FF

    oklch(88.5% 0.064 297)

  4. Step 300

    300 (this color)

    #BA9EFA

    oklch(75.9% 0.132 297.2)

  5. Step 400

    400

    #AE85FF

    oklch(70.8% 0.175 297.2)

  6. Step 500

    500

    #9C5EFF

    oklch(63.1% 0.228 297.1)

  7. Step 600

    600

    #8D22FF

    oklch(55.7% 0.283 297.3)

  8. Step 700

    700

    #7800E0

    oklch(49.1% 0.266 297)

  9. Step 800

    800

    #620AB7

    oklch(42.7% 0.225 297.1)

  10. Step 900

    900

    #4F1B90

    oklch(37.6% 0.175 297.1)

  11. Step 950

    950

    #2E1355

    oklch(27% 0.112 296.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA9EFA 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)#86ADFE0.074
Deuteranopia (no green cones)#8BACF80.069
Tritanopia (no blue cones)#ADAEC00.107
Achromatopsia (no color)#ADADAD0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9EFA

    #BA9EFA

    oklch(75.9% 0.132 297.2)

  • #ABBB52

    #ABBB52

    oklch(75.8% 0.132 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9EFA

    #BA9EFA

    oklch(75.9% 0.132 297.2)

  • #8EAEFF

    #8EAEFF

    oklch(75.9% 0.122 267.1)

  • #DD92DC

    #DD92DC

    oklch(75.9% 0.131 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA9EFA

    #BA9EFA

    oklch(75.9% 0.132 297.2)

  • #D5AB3F

    #D5AB3F

    oklch(76% 0.132 87.1)

  • #74C77F

    #74C77F

    oklch(75.8% 0.131 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9EFA

    #BA9EFA

    oklch(75.9% 0.132 297.2)

  • #EF9A57

    #EF9A57

    oklch(75.9% 0.131 57.3)

  • #2DCCAF

    #2DCCAF

    oklch(76% 0.132 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9EFA

    #BA9EFA

    oklch(75.9% 0.132 297.2)

  • #F98E82

    #F98E82

    oklch(75.8% 0.132 27.3)

  • #ABBB52

    #ABBB52

    oklch(75.8% 0.132 116.9)

  • #00C7DB

    #00C7DB

    oklch(75.9% 0.13 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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