#BA9EF8

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.129 297.6), rgb(186, 158, 248).

Aa

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

About this color

#BA9EF8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.129 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.025 away. Black text reads best on it, at 9.33:1.

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

Values

HEX#BA9EF8
RGBrgb(186, 158, 248)
HSLhsl(259, 87%, 80%)
OKLCHoklch(75.8% 0.129 297.6)

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 #BA9EF8 2.24:1 Fails Lc -49.1 Large or bold text, headings
Black text on #BA9EF8 9.33:1 AAA Lc 59.7 Large or bold text, headings
#BA9EF8 text on white 2.24:1 Fails Lc 44.3 Non-text elements, placeholder text
#BA9EF8 text on black 9.33:1 AAA Lc -57.9 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)

    #BA9EF8

    oklch(75.8% 0.129 297.6)

  5. Step 400

    400

    #AE84FF

    oklch(70.6% 0.177 297.4)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8E20FF

    oklch(55.7% 0.284 297.7)

  8. Step 700

    700

    #7900DF

    oklch(49.1% 0.266 297.6)

  9. Step 800

    800

    #620FB5

    oklch(42.7% 0.222 297.4)

  10. Step 900

    900

    #4F1C8F

    oklch(37.6% 0.173 297.2)

  11. Step 950

    950

    #2E1454

    oklch(27.1% 0.109 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA9EF8 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)#87ADFC0.073
Deuteranopia (no green cones)#8CACF60.068
Tritanopia (no blue cones)#AEADBF0.104
Achromatopsia (no color)#ADADAD0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9EF8

    #BA9EF8

    oklch(75.8% 0.129 297.6)

  • #AABB55

    #AABB55

    oklch(75.8% 0.129 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9EF8

    #BA9EF8

    oklch(75.8% 0.129 297.6)

  • #8EADFF

    #8EADFF

    oklch(75.7% 0.123 267.6)

  • #DC92DB

    #DC92DB

    oklch(75.8% 0.13 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA9EF8

    #BA9EF8

    oklch(75.8% 0.129 297.6)

  • #D3AB42

    #D3AB42

    oklch(75.8% 0.129 87.7)

  • #74C780

    #74C780

    oklch(75.9% 0.13 147.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9EF8

    #BA9EF8

    oklch(75.8% 0.129 297.6)

  • #EE9A58

    #EE9A58

    oklch(75.8% 0.13 57.3)

  • #32CBB0

    #32CBB0

    oklch(75.9% 0.129 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9EF8

    #BA9EF8

    oklch(75.8% 0.129 297.6)

  • #F88F83

    #F88F83

    oklch(75.9% 0.129 27.4)

  • #AABB55

    #AABB55

    oklch(75.8% 0.129 117.5)

  • #0AC7DB

    #0AC7DB

    oklch(75.9% 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 #BA9EF8, closest first.

Similar named colors

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

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