#BA9EEA

Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.111 300.7), rgb(186, 158, 234).

Aa

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

About this color

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

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

Values

HEX#BA9EEA
RGBrgb(186, 158, 234)
HSLhsl(262, 64%, 77%)
OKLCHoklch(75.2% 0.111 300.7)

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 #BA9EEA 2.29:1 Fails Lc -50.0 Large or bold text, headings
Black text on #BA9EEA 9.16:1 AAA Lc 58.9 Large or bold text, headings
#BA9EEA text on white 2.29:1 Fails Lc 45.1 Large or bold text, headings
#BA9EEA text on black 9.16:1 AAA Lc -57.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 400.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C8B7E7

    oklch(81% 0.069 301.1)

  5. Step 400

    400 (this color)

    #BA9EEA

    oklch(75.2% 0.111 300.7)

  6. Step 500

    500

    #9873D1

    oklch(63.1% 0.141 300.6)

  7. Step 600

    600

    #8359BE

    oklch(55.5% 0.154 300.7)

  8. Step 700

    700

    #6F49A4

    oklch(49.2% 0.143 300.5)

  9. Step 800

    800

    #5A3C85

    oklch(42.6% 0.119 300.4)

  10. Step 900

    900

    #4A346A

    oklch(37.6% 0.092 300.9)

  11. Step 950

    950

    #2B1F3E

    oklch(27% 0.058 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA9EEA 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)#8DABED0.066
Deuteranopia (no green cones)#92ABE80.062
Tritanopia (no blue cones)#B2AABA0.087
Achromatopsia (no color)#ABABAB0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA9EEA

    #BA9EEA

    oklch(75.2% 0.111 300.7)

  • #A4B967

    #A4B967

    oklch(75.1% 0.11 120.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA9EEA

    #BA9EEA

    oklch(75.2% 0.111 300.7)

  • #94ABF5

    #94ABF5

    oklch(75.2% 0.11 270.4)

  • #D794CF

    #D794CF

    oklch(75.1% 0.111 330.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA9EEA

    #BA9EEA

    oklch(75.2% 0.111 300.7)

  • #C9AC56

    #C9AC56

    oklch(75.3% 0.111 90.9)

  • #78C38A

    #78C38A

    oklch(75.3% 0.111 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA9EEA

    #BA9EEA

    oklch(75.2% 0.111 300.7)

  • #E29E63

    #E29E63

    oklch(75.3% 0.111 60.9)

  • #4DC5B2

    #4DC5B2

    oklch(75.1% 0.111 180.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA9EEA

    #BA9EEA

    oklch(75.2% 0.111 300.7)

  • #EC9384

    #EC9384

    oklch(75.1% 0.111 30.2)

  • #A4B967

    #A4B967

    oklch(75.1% 0.11 120.9)

  • #45C1D6

    #45C1D6

    oklch(75.1% 0.111 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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